File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes onChange broken in Firefox? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "onChange broken in Firefox?" Watch "onChange broken in Firefox?" New topic

onChange broken in Firefox?

Rees Maxwell

Joined: Aug 03, 2005
Posts: 7
HI! I have a site with a frameset of one row at the top, and a frameset of two columns below that. In the top frame I have a drop-down menu using onChange which opens the selected choice in the formFrame below correctly in Safari and IE(PC or Mac), but doesn't work in Firefox. When I click on one of the choices in Firefox, nothing happens. I've hunted around the web, but without any resolutions to date. Any ideas?

I've simplified the code to the following, but it just ain't working:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<form name="caseInfo">
<select name="caseInfoList" onChange="parent.formFrame.location=document.caseInfo.caseInfoList.options(document.caseInfo.caseInfoList.selectedIndex).value">
<option selected value="javascript:void(0)">Case Info</option>
<option value="forms/detail.lasso">Detail</option>
<option value="forms/contact.lasso">Contact log</option>
<option value="forms/referral.lasso">Referral concerns</option>
<option value="forms/reports.lasso">Reports</option>
[ August 03, 2005: Message edited by: Rees Maxwell ]
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199


Welcome to JavaRanch!

Despite the fact that their names share a few syllables, "Java" and "JavaScript" are completely unrelated. Most of this site is devoted to Java, not JavaScript, including the forum you've posted this message in. But we do, in fact, have one forum devoted to HTML and JavaScript; it's here. I'll move your question there where it will get the attention it deserves.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: onChange broken in Firefox?
jQuery in Action, 3rd edition