IBM developerWorks
 
           .NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old August 22nd, 2000, 01:27 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
OnChange Event - NEtscape and IE.

<i><b>Originally posted by : Padmaja Tallavajhala (coolpersona@hotmail.com)</b></i><br />The code works fine with IE but not with Netscape. Instead I get a null value reflected in the text<br />box below. Please help me with any ideas as to how to make the code more browser compatible.<br /><br />The code can pasted it in any file in Visual Interdev.<br /><br />Help Needed,<br />Thanks,<br />Padmaja.<br /><br />------------------------------------------------------------------------------------------------------------------<br /><br /><HTML><br /><HEAD><br /><META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0"><br /><script language="javascript"><br />function valueChange()<br />{<br /> var myIndex = document.frm2ndDestination.SendTo.selectedIndex;<br /> if (myIndex == 0)<br /> {<br /> alert("
You must make a selection from the drop down menu.");<br /> document.frm2ndDestination.SendTo.focus;<br /> }<br /> else<br /> { <br /> document.frm2ndDestination.results1.value = document.frm2ndDestination.SendTo.value;<br /> }<br /> <br />}<br /></script><br /></HEAD><br /><BODY><br /><form name="frm2ndDestination"><br />Submit To:<br /><SELECT name="SendTo" onchange="valueChange()" style="HEIGHT: 25px; WIDTH: 235px"><br /><Option Selected value="">Travel Adminstrator</option><br /><Option value="pcavali@dreeshomes.com" >Corporate: Padmaja Chavali</option><br /><option value="rheath@dreeshomes.com" >Southern: Robin Heath</option><br /></select><br /></center><br /><input type="text" name="results1"></input><br /><P> </P><br /></form><br /></BODY><br /></HTML><br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > OnChange Event - NEtscape and IE.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway