Going crazy. Simple alert when checkbox is checked with jquery?

You are not waiting for DOM ready If you will, it'll work.

You are not waiting for DOM ready. If you will, it'll work: test1 Fiddle: jsfiddle.net/sanbc.

Switched it out, didn't work, then found a conflicting library, removed it and it works fine. Thanks for the tip though, Ill make sure to include that on all future attempts. – livinzlife Aug 22 at 2:34.

You'll want to wrap it in document.ready() otherwise the click event might be assigned before the element exists. OR Make sure the jQuery library is included. OR Make sure no other javascript libraries are included, they can mess up the $ object.

If they are, replace $ with jQuery. Try those and get back to me with a comment.

This works for me. Example: jsfiddle.net/jasongennaro/9dSMM/ Perhaps there is a problem with the DOM not being ready? Remember to wrap this in a document.ready.

$(document). Ready(function() { // put all your jQuery goodness in here. }); More here.

Put your code inside a $(document). Ready event so that you can be sure the checkbox exists when you try to register an event handler with it.

Just to check the obvious, I've never written any Jquery UI code without this wrapper: $(document). Ready(function() { //...... }).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions