Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

onChange broken in Firefox?  RSS feed

Rees Maxwell
Posts: 7
  • Mark post as helpful
  • send pies
  • 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">
<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
Posts: 24215
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!