Forum Moderators: open

Message Too Old, No Replies

jQuery Works Initially, but.

         

TheMadScientist

7:08 am on Oct 21, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



After I reload a portion of the page it breaks...

How do I make it work all the time? (I'm a rookie with this and know there is a way.) Please, do not cite the documentation for .live(), because it's not what I need, thanks!

I need to be able to access the function when a 'partial reload' of the document is finished... The jQuery is called from within a JS function and basically I'm just using it to appendTo() a div and show() another hidden div.

I need to pass the info into the JS function to keep everything working together, so I'm not seeing how I can just 'bind' an event to a class (or anything else... I'm using IDs, but could create a class). Either way, I need the information which is dynamically re-created on the reloaded portion of the page in the JS function.

I know there's a way to do it, because I read about it earlier, but unfortunately I can't find the link to the resource... (LOL + 'The story of my day')

Can someone here tell me what I need to do?

I know it has something to do with the DOM and $(document).ready(function() and onLoad and I need to 'blah' to make it work all the time... unfortunately, I keep getting stuck at 'blah' + LMAO

Thanks In Advance!

TheMadScientist

9:13 pm on Oct 21, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



NVM Solved.