Writing jquery function in head is not called
<p>I have copied the same example form <a href="http://api.jquery.com/change/" rel="nofollow">jquery</a> website to implement the functionality of <code>change()</code> in jQuery. If the <code>&lt;script&gt;..&lt;/script&gt;</code> is cut and pasted in head part, then the function is not at all called on changing the select value. Is there any reason I should write this fragment below select? <a href="http://jsfiddle.net/95kKP/" rel="nofollow">This</a> is the fiddle in which I placed the <code>&lt;script&gt;</code> part in the header. The default code is <a href="http://jsfiddle.net/8MQwR/" rel="nofollow">this one</a>.</p>
