> First off, $(document).ready() only fires once. When the document is first
> ready.
Ok, makes sense, but, how do you "reattach" updated content to your events?
> Second, if you have events on a dom object, and create an identical dom
> object, you need to reattach the events to this new dom object when it's
> created (or really, whenever) for the events to fire.
Yes, exactly. How?
> I don't even really know what you're trying to accomplish with
> $(document).bind("load",etc...);
I think I got it from the rounded corners plugin sample code, which is the
first thing I used with jquery. Sorry, what can I say, I'm just getting
started with this stuff.
> Just use
>
> $(document).ready(function(){
> code you want to happen on page load
> });
Ok, I'll make that change.
Thanks,
Jason
--
View this message in context:
http://www.nabble.com/replaced-content-losing-it%27s-%27binding%27-tf2109860.html#a5823036
Sent from the JQuery forum at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/