When I use .load() to pull in a whole page, script tags are correctly pulled
in and executed. However, if I add a selector to the .load() call all script
tags get stripped out. In the following example, the heading from the second
HTML file gets pulled in, but the JS with the alert does not. Coul
I'm going nuts with a fairly simple selector issue.
$("#topic").load("help.html #topic-example");
I want to get the contents of #topic-example, but only the children, not
the container itself.
What is the proper way to do this. It seems so simple, but I'm
struggling with it.
Thanks
AllexS
2 matches
Mail list logo