Fantastick
New Member
Trying to learn JQuery here, im starting off really simple.When I click the button, the page reloads and nothing happens.Heres my JS:\[code\]<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript" charset="utf-8"></script><script type="text/javascript" charset="utf-8"> $("#submitShout").click(function() { alert('hi'); }); </script>\[/code\]Here's my html:\[code\]<div class="panel right"> <form name="shout" ><textarea name="text" id="text" class="ribbitText"></textarea><input type="submit" id="submitShout" value="http://stackoverflow.com/questions/15471328/Ribbit!"></form></div>\[/code\]