p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_codeclinic thread: Only works in IE but why?


Message #1 by "Andy" <andrews@a...> on Wed, 8 Mar 2000 17:11:40
I don't think you'll be able to get those values until the form is 
submitted...

Shawn



On 03/08/00, ""Andy" <andrews@a...>" wrote:
> When i make reference to 2 option lists in my form to get the values the result is ok in ie. But when i try and do the same in
netscape the
option values return "null"

I have put form tags around the option buttons but it still doesnt work.

<SCRIPT LANGUAGE="JavaScript">
document.write("<a HREF='TableAsText.asp?Product=" +      
document.frmSELECTTABLE.Product.value + " &SALESTYPE=" + 
document.frmSELECTTABLE.SalesType.value + " '>");
document.write("<img src='go.jpg' width=52 height=35 border='0'></a>");
</SCRIPT>

Any ideas on what I am doing wrong would be appreciated 

Thanks
Andy
andrews@a...

  Return to Index