When you are coding in an aspx page you can do something like this:
<SharePoint:ScriptLink ID="ScriptLink5" runat="server" Name="myPorject/js/myCustomScript.js" Localizable="false" LoadAfterUI="true"/> <asp:CheckBox ID="chkEnable" runat="server" />
Is there any way that I could reproduce the functionality from my first example in a web part? Anything that I do must be able to be installed entirely through a wsp onto a system that I have no other access to. Any solution must be implemented entirely through the wsp.