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