but Why?!?!
I didn't need to strip out and tags..
the embed.html has <html> and <head> tags..
And it all works just fine.
 
----- Original Message -----
Sent: Tuesday, November 20, 2001 6:29 PM
Subject: Re: [Dynapi-Dev] Loading ecternal HTML files (or Loadpanel)

> I have yet to try a similar solution in IE (no time).
> But this has gotten me thinking that we _must_ be doing something wrong for javascript to _not_ execute in a loadpanel..
 
Nothing wrong,  you just have to put all code in the body of the document, as loadpanel parses out everything between <body> tags, and add the "defer" parameter to your script tags, like this:
 
<body>
<script defer>
alert("hi")
</script>
</body>
 
Cheers,
Richard.

Reply via email to