JQuery cannot identify tags when I use them on the main page. The following code:
<script type="text/javascript">
$("body").append('<div id="test"><p>Hello</p></div>');
</script>
It works fine on regular pages, but when the body is on the main page, and I put the same code on the main page - nothing happens!
How can I add an ASP page to the body of a page? Is there any trick?
Any help would be greatly appreciated.
Mark.
source
share