How to retrieve the text of a DIV whose content was changed after $(document).ready()
I have been using the .live() function for some time now on dynamically added content. However, I have a DIV with no content that is altered after the document is ready. I'm changing the inner HTML of the DIV by writing a variable to the DIV like this:
- //Write the update URL to a DIV that isn't shown and retrieve it later
- $("#updateURL").html(updateURL);
I'd like to read it back using:
But since I don't know of any events that I can bind using .live() when you just simply alter the inner HTML, I don't know what to do. Should I just call $(document).ready() again?
Regards,
Scott