what's wrong with my code?

what's wrong with my code?

I have a problem with a jquery code.. here it is:

<HTML>
<HEAD>
<SCRIPT type="text/javascript" src="jquery-1.3.2.js">
    $(document).ready(function() {
        $("#btnsend").click(function() {
            alert("Hello world");
        });
    });
</SCRIPT>
</HEAD>
<BODY>
<DIV>
<INPUT type="button" id="btnsend" value="Send"/>
</DIV>
</BODY>
</HTML>














the code should've been correct, right? but when I press the Send button, nothing happens.. can anyone tell me what's wrong with the code??

thanks.

    • Topic Participants

    • admin