Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape problem

Status
Not open for further replies.

DKL01

Programmer
Sep 14, 2000
233
US
Hi,

I'm really confused what's going on. alert(buffer1) displays proper value when I run this page on IE. But it displays NULL when I run the page in Netscape. What could be the problem ?

<%@ Language=VBScript %>

<script language=&quot;Javascript&quot;>

function displayData() {
var buffer1;

buffer1 = document.form1.links.value;
alert(buffer1);
}

</script>

<HTML>
<HEAD>
<META NAME=&quot;GENERATOR&quot; Content=&quot;Microsoft Visual Studio 6.0&quot;>
</HEAD>
<BODY>


<form name=form1 action=Redirect.asp method=post>

<SELECT NAME=&quot;links&quot; id=&quot;links&quot; SIZE=1 style=&quot;width=300px&quot; onchange=displayData()>

<option value=&quot;33&quot;> One
<option value=&quot;44&quot;> Two

</SELECT>

</form>


</BODY>
</HTML>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top