I did check it out... It still doesn't work. All of the scripts in div tags, both Mootools and jquery...

Need help..

Erik


On Jan 19, 2009, at 4:47 PM, Karl Rudd wrote:


Check out the documentation for several solutions:

http://docs.jquery.com/Frequently_Asked_Questions#Why_do_..._.3F

Karl Rudd

On Tue, Jan 20, 2009 at 5:14 AM, Mark MacInnes
<markamacin...@googlemail.com> wrote:

I'm using jQuery to perform some ajax when a link with a certain id is
clicked on. The ajax updates a database record and then it replaces
the 'a' tag with a new one. This all works fine. The new 'a' tag has
the same id as the old one, but text and some other properties on it
change. It's the id that activates the jQuery functionality.

When the old 'a' tag is replaced with the new one the jQuery that
should operate doesn't work. I understand that this is because the new 'a' tag has been added after the page loaded so jQuery doesn't know to
fire when it's clicked on. Is there anything I can do that will force
jQuery to fire when the new 'a' tag is clicked?

I suspect this has probably been answered a million times, but I don't
just can't find the right search terms.


Reply via email to