• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

onChange broken in Firefox?

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic