aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "onChange broken in Firefox?" Watch "onChange broken in Firefox?" New topic
Author

onChange broken in Firefox?

Rees Maxwell
Greenhorn

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">
<html>
<head>
<title>navFrame</title>
</head>
<body>
<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>
</select>
</form>
</body>
</html>
[ August 03, 2005: Message edited by: Rees Maxwell ]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Hi,

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]
 
jQuery in Action, 2nd edition
 
subject: onChange broken in Firefox?