Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Mon, 1 Sep 2008 05:30:46 -0700 (PDT),    group: microsoft.public.dotnet.framework.aspnet        back       


Form onchange command not working in FireFox v3   
Hello,

I have a drop-down list that populates events from a database.  In
previous versions of FireFox (FF) and IE, when one of the records was
selected, it caused the page to reload with the event selected in the
URL, which executed other code in the page to display information.

In FF3, when the option is selected, the page does not reload.  If I
manually add the additional URL information, the page refreshes fine,
but I would like to have it work like it did in the past.

Here is the Form code for reference:

<form method="post">
<b>Select Event:</b>
<select size="1" name="EventID"
onchange="self.location='eventregister.asp?
ID='+document.all.EventID.value">
<option value="0">Select...</option><%
Set RS = Conn.Execute("SELECT * FROM Events WHERE ViewRegistration =
1")
Do while not rs.eof
	Response.write "<option value=""" & rs("EventID") & """>" &
left(rs("Title"),50) & "</option>" & vbcrlf
rs.movenext
Loop
%>
</select>
</form>

Any help would be appreciated.
date: Mon, 1 Sep 2008 05:30:46 -0700 (PDT)   author:   IcemanUK

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us