71
rated 0 times
[
75]
[
4]
/ answers: 1 / hits: 107103
/ 13 Years ago, fri, january 27, 2012, 12:00:00
I'm using some embed codes that insert HTML to the page dynamically and since I have to modify that dynamically inserted HTML, I want a jquery function to wait until the page has loaded, I tried delay
but it doesnt seem to work.
So for example, the dynamically inserted HTMl has an element div#abc
and I have this jquery:
if ( $('#abc')[0] ) {
alert(yes);
}
the alert doesn't show up.
I'd appreciate any help
Thanks
More From » jquery