User Controls and JavaScript and Master Pages
<p>Consider the following situation:</p>

<p>There is a master page with a contentPlaceHolder for all javascript...</p>

<p>for speed issuses this section is at the bottom of the page.</p>

<p>my user control generates some javascript that make use of some references in the master page javascript (Jquery library)</p>

<p>so, if my user control is rendered before the master page javascript, it won't work.</p>

<p>and this is my question:</p>

<p>how do I make some javascript code block inside my .ascx file to be rendered to the asp:Content JavaScript in the .aspx page</p>

<p>or maybe my all thinking is worng?</p>

<p>Thanks!</p>
