When i use the following syntax, the inline script is not executed. In Firebug not able to debug the code.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js" type="text/javascript" />
<script>
$(document).ready(function () {
$('#btn').bind('click', function () {
alert('hai');
});
});
</script>
but if i change the external file add script, it works fine. no issues at all.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js" type="text/javascript" > </script>