Hi Michael,
The solution is simpler than you think.
All you have to do when you load an HTML document that contains a
script, is to think of it as being automatically injected into your
jQuery namespace ($). This means that you no longer have to do
another .ready() or jQuery(callback) inside yo
Hello Karl,
Thank you for your reply. But I think you mis understand me.
I want the scripts in the page I loaded with ajax to execute, not let
my already existing scripts work with the newly loaded content.
For example:
main.html:
function test() { ... }
newpage.html:
onready function
other
Hi Michael,
You have run into a fairly common issue: how to get events to work
with elements that are added to the DOM, through either ajax or simple
DOM mainpulation, after the "document ready" code has already fired.
This FAQ topic should answer your question:
http://docs.jquery.com/Freq
3 matches
Mail list logo