Form onchange command not working in FireFox v3

I

IcemanUK

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,147
Latest member
CarenSchni
Top