Also you need to add the handlers after DOM has loaded, or run the
script at the end of the document body:
$(document).ready(function(){
$('#lstRace').change(function(){
alert('yay');
});
// everything that deals with elements in here
});
Sounds like you're starting in
try
$("#clickMe").click(function () {
alert('four');
});
bkbonner wrote:
I've been trying to figure out why when I click the button nothing
happens...Can someone shed me some light on this example?
function init(){
alert('one');
2 matches
Mail list logo