thanks now it is working fine,
I will install livequery but does it slow down the site load.
THe problem is in the order in which things are happening in your script. If
you take a look at the livequery plugin this might help.
But, you should apply the click after the DOM has been manipulated. Since
DOM is parsed in the beginning of the page load, nothing happens when you
add / remove thi
The liveQuery plugin takes care of this work for you.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Giant Jam Sandwich
Sent: Wednesday, February 06, 2008 3:55 PM
To: jQuery (English)
Subject: [jQuery] Re: on click event does not response
jQuery did not recognize the element ".test" because you had not
created it yet. You have to bind a click to a new element after you
create it. Something like the following:
$("#someID").append("My Link").find("a:last").click(function(){
// do something...
});
On Feb 6, 12:46 pm, Jquery lover <
4 matches
Mail list logo