Closed Thread Icon

Topic awaiting preservation: Netscape help... Pages that link to <a href="https://ozoneasylum.com/backlink?for=8457" title="Pages that link to Topic awaiting preservation: Netscape help..." rel="nofollow" >Topic awaiting preservation: Netscape help...\

 
Author Thread
pwhitrow
Bipolar (III) Inmate

From: UK
Insane since: Feb 2002

posted posted 01-10-2003 17:16

Having a broblem getting something to work with NS7, so created a little test file, and it still don't work.

I have this little script in an html file:
<script language="JavaScript" type="text/javascript">
<!--
s=document.createElement('script');
s.type='text/javascript';
s.defer=true;
s.id='tmpScript'
void(document.getElementsByTagName('head').item(0).appendChild(s));
s.src='http://www.pwhitrow.com/netcoms2/test.php?USERNAME=pwhitrow'
//-->
</script>

that sends the USERNAME to a test php file.

The php file then just has the DB data plus the string :
echo "alert('".$USERNAME."')\n";
to 'alert' the passed variable.

It all works fine in IE, but NS won't alert.
I know the script element is being created (already tested for that), so is the problem due to NS not reflowing the dynamic content of the new script element ?
If not, then what could the problem be.?
If so, then how can I correct this.?

Regards,

pwhitrow

www.pwhitrow.com

pwhitrow
Bipolar (III) Inmate

From: UK
Insane since: Feb 2002

posted posted 01-10-2003 17:24

nevermind....sorted it...

www.pwhitrow.com

« BackwardsOnwards »

Show Forum Drop Down Menu