a pull-down menu in an asp dosent populate, yet another similar one on the same page does

RESOLVED INVALID

Status

()

Toolkit
Form Manager
RESOLVED INVALID
13 years ago
10 years ago

People

(Reporter: clinta, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

this may not actually be a mozilla BUG per se, but it is something that internet
explorer does and firefox/mozilla have not for a long time, and also the only
reason i have to use internet explorer.
our company maintains www.leadertelegram.com, which has a management backend
written in asp.  i am not a web developer, or any kind of programmer, but i will
try to be as detailed as i can.  
the management page has an 'add article' function, which has on it two pull-down
controls which are populated with the article categories, a hard-coded list, and
then the article sub-categories, which is populated from hard-coded lists
dynamically when a category is selected.
this seems to work fine in internet explorer, but in mozilla/firefox the
pulldown is displayed, but only its default value is displayed, it is never
repopulated with subcategory lists.
this is probably some stupid internet explorer proprietary **** that shouldn't
work anyways, but i would be curious to know of workarounds too, i may convince
someone to change their code.

Reproducible: Always

Steps to Reproduce:
1.select a category in the category pulldown menu



Actual Results:  
2.check the subcategory list, still has not been updated

Expected Results:  
should replace [select subcategory] text with list of subcategories (there is 2
dimensional array of strings containing subcategory names)

here are some parts of the code in question
i did NOT write this code, i havent really done any serious web programming, so
im just approximating what code i think is the problem.  if anyone is interested
i can supply the entire page but i just cant provide live access to our internal
page.

*******************************************************************************
*** below is the list of SUB categories being populated initially at the
beginning of the page ***
*******************************************************************************

//create ourlink list of different model Series
var oModelSeries = new OptionCollection();

oModelSeries.Add("1","FrontPage1","1");
oModelSeries.Add("2","FrontPage2","1");
oModelSeries.Add("3","FrontPage3","1");
oModelSeries.Add("4","FrontPage4","1");
oModelSeries.Add("5","FrontPage5","1");
oModelSeries.Add("184","NewsFlash","1");
oModelSeries.Add("155","Update","1");
oModelSeries.Add("6","Local News1","2");
oModelSeries.Add("7","Local News2","2");
oModelSeries.Add("8","Local News3","2");
oModelSeries.Add("9","Local News4","2");
oModelSeries.Add("10","Local News5","2");
oModelSeries.Add("11","Local News6","2");
oModelSeries.Add("12","Local News7","2");
oModelSeries.Add("13","Local News8","2");
oModelSeries.Add("14","Local News9","2");
oModelSeries.Add("15","Local News10","2");
oModelSeries.Add("16","Columnists - Crossroads - Chuck Rupnow","2");
oModelSeries.Add("17","Columnists - Crossroads - Chris Vetter","2");
oModelSeries.Add("18","Columnists - Crossroads - Alyssa Waters","2");
oModelSeries.Add("19","Columnists - Crossroads - Pamela Powers","2");
oModelSeries.Add("20","Columnists - Crossroads - Stephanie Ulcej","2");
oModelSeries.Add("21","Columnists - Crossroads - Joe Knight","2");
oModelSeries.Add("22","Columnists - Knight Life - Joe Knight","2");
oModelSeries.Add("23","Columnists - OffBeat - Eric Lindquist","2");
oModelSeries.Add("24","Columnists - OffBeat - Tom Giffey","2");
oModelSeries.Add("25","Columnists - OffBeat - Troy Espe","2");
oModelSeries.Add("26","Columnists - OffBeat - Christena O'Brien","2");
oModelSeries.Add("27","Columnists - OffBeat - Michael Klein","2");
oModelSeries.Add("28","Columnists - OffBeat - Jerry Poling","2");
oModelSeries.Add("29","Columnists - OffBeat - Susan Barber","2");
oModelSeries.Add("30","Columnists - OffBeat - Julian Emerson","2");
oModelSeries.Add("31","Columnists - Entertainment1","2");
oModelSeries.Add("32","Columnists - Entertainment2","2");
oModelSeries.Add("33","Columnists - Entertainment3","2");
oModelSeries.Add("34","Columnists - Etc","2");
oModelSeries.Add("35","Police Report","2");
oModelSeries.Add("36","State News1","3");
oModelSeries.Add("37","State News2","3");
oModelSeries.Add("38","State News3","3");
oModelSeries.Add("39","State News4","3");
oModelSeries.Add("40","State News5","3");
oModelSeries.Add("41","Local Sports - College1","4");
oModelSeries.Add("42","Local Sports - College2","4");
oModelSeries.Add("43","Local Sports - College3","4");
oModelSeries.Add("44","Local Sports - College4","4");
oModelSeries.Add("45","Local Sports - College5","4");
oModelSeries.Add("46","Local Sports - College6","4");
oModelSeries.Add("47","Local Sports - College7","4");
oModelSeries.Add("48","Local Sports - College8","4");
oModelSeries.Add("49","Local Sports - College9","4");
oModelSeries.Add("50","Local Sports - College10","4");
oModelSeries.Add("51","Local Sports - Preps1","5");
oModelSeries.Add("52","Local Sports - Preps2","5");
oModelSeries.Add("53","Local Sports - Preps3","5");
oModelSeries.Add("54","Local Sports - Preps4","5");
oModelSeries.Add("55","Local Sports - Preps5","5");
oModelSeries.Add("56","Local Sports - Preps6","5");
oModelSeries.Add("57","Local Sports - Preps7","5");
oModelSeries.Add("58","Local Sports - Preps8","5");
oModelSeries.Add("59","Local Sports - Preps9","5");
oModelSeries.Add("60","Local Sports - Preps10","5");
oModelSeries.Add("61","Local Sports - Community1","6");
oModelSeries.Add("62","Local Sports - Community2","6");
oModelSeries.Add("63","Local Sports - Community3","6");
oModelSeries.Add("64","Local Sports - Community4","6");
oModelSeries.Add("65","Local Sports - Community5","6");
oModelSeries.Add("66","Local Sports - Community6","6");
oModelSeries.Add("67","Local Sports - Community7","6");
oModelSeries.Add("68","Local Sports - Community8","6");
oModelSeries.Add("69","Local Sports - Community9","6");
oModelSeries.Add("70","Local Sports - Community10","6");
oModelSeries.Add("71","Entertainment1","7");
oModelSeries.Add("72","Entertainment2","7");
oModelSeries.Add("73","Entertainment3","7");
oModelSeries.Add("74","Senior Life1","7");
oModelSeries.Add("75","Senior Life2","7");
oModelSeries.Add("76","Senior Life3","7");
oModelSeries.Add("77","Food1","7");
oModelSeries.Add("78","Food2","7");
oModelSeries.Add("79","Food3","7");
oModelSeries.Add("80","Health1","7");
oModelSeries.Add("81","Health2","7");
oModelSeries.Add("82","Health3","7");
oModelSeries.Add("83","Online1","7");
oModelSeries.Add("84","Online2","7");
oModelSeries.Add("85","Online3","7");
oModelSeries.Add("86","Parenting1","7");
oModelSeries.Add("87","Parenting2","7");
oModelSeries.Add("88","Parenting3","7");
oModelSeries.Add("89","Getting Out1","7");
oModelSeries.Add("90","Getting Out2","7");
oModelSeries.Add("91","Getting Out3","7");
oModelSeries.Add("92","Religion1","7");
oModelSeries.Add("93","Religion2","7");
oModelSeries.Add("94","Religion3","7");
oModelSeries.Add("95","Home and Garden1","7");
oModelSeries.Add("96","Home and Garden2","7");
oModelSeries.Add("97","Home and Garden3","7");
oModelSeries.Add("98","Lifestyles1","7");
oModelSeries.Add("99","Lifestyles2","7");
oModelSeries.Add("100","Lifestyles3","7");
oModelSeries.Add("101","West-Central1","7");
oModelSeries.Add("102","West-Central2","7");
oModelSeries.Add("103","West-Central3","7");
oModelSeries.Add("104","Business1","8");
oModelSeries.Add("105","Business2","8");
oModelSeries.Add("106","Business3","8");
oModelSeries.Add("107","Editorials1","9");
oModelSeries.Add("108","Editorials2","9");
oModelSeries.Add("109","Editorials3","9");
oModelSeries.Add("110","Voice of the People1","9");
oModelSeries.Add("111","Voice of the People2","9");
oModelSeries.Add("112","Voice of the People3","9");
oModelSeries.Add("113","Voice of the People4","9");
oModelSeries.Add("114","Voice of the People5","9");
oModelSeries.Add("115","Voice of the People6","9");
oModelSeries.Add("116","Voice of the People7","9");
oModelSeries.Add("117","Voice of the People8","9");
oModelSeries.Add("118","Voice of the People9","9");
oModelSeries.Add("119","Voice of the People10","9");
oModelSeries.Add("120","Polls and Interact - Poll1","9");
oModelSeries.Add("121","Polls and Interact - Poll2","9");
oModelSeries.Add("122","Polls and Interact - Poll3","9");
oModelSeries.Add("123","Polls and Interact - Message Board","9");
oModelSeries.Add("124","Polls and Interact - Contact Us","9");
oModelSeries.Add("125","Obituaries1","10");
oModelSeries.Add("126","Obituaries2","10");
oModelSeries.Add("127","Obituaries3","10");
oModelSeries.Add("128","Obituaries4","10");
oModelSeries.Add("129","Obituaries5","10");
oModelSeries.Add("130","Obituaries6","10");
oModelSeries.Add("131","Obituaries7","10");
oModelSeries.Add("132","Obituaries8","10");
oModelSeries.Add("133","Obituaries9","10");
oModelSeries.Add("134","Obituaries10","10");
oModelSeries.Add("135","Obituaries11","10");
oModelSeries.Add("136","Obituaries12","10");
oModelSeries.Add("137","Obituaries13","10");
oModelSeries.Add("138","Obituaries14","10");
oModelSeries.Add("139","Obituaries15","10");
oModelSeries.Add("140","Obituaries16","10");
oModelSeries.Add("141","Obituaries17","10");
oModelSeries.Add("142","Obituaries18","10");
oModelSeries.Add("143","Obituaries19","10");
oModelSeries.Add("144","Obituaries20","10");
oModelSeries.Add("145","Death Notices","10");
oModelSeries.Add("146","Archives","11");
oModelSeries.Add("147","Moments in Life","11");
oModelSeries.Add("148","Photo Gallery","11");
oModelSeries.Add("149","News Links","11");
oModelSeries.Add("150","Lottery Results","11");
oModelSeries.Add("151","Site Map","12");
oModelSeries.Add("152","FAQs","12");
oModelSeries.Add("153","Ethics Code","12");
oModelSeries.Add("154","Contact Us","12");
oModelSeries.Add("156","Entertainment4","7");
oModelSeries.Add("157","Entertainment5","7");
oModelSeries.Add("158","Senior Life4","7");
oModelSeries.Add("159","Senior Life5","7");
oModelSeries.Add("160","Food4","7");
oModelSeries.Add("161","Food5","7");
oModelSeries.Add("162","Health4","7");
oModelSeries.Add("163","Health5","7");
oModelSeries.Add("164","Online4","7");
oModelSeries.Add("165","Online5","7");
oModelSeries.Add("166","Parenting4","7");
oModelSeries.Add("167","Parenting5","7");
oModelSeries.Add("168","Getting Out4","7");
oModelSeries.Add("169","Getting Out5","7");
oModelSeries.Add("170","Religion4","7");
oModelSeries.Add("171","Religion5","7");
oModelSeries.Add("172","Home and Garden4","7");
oModelSeries.Add("173","Home and Garden5","7");
oModelSeries.Add("174","Lifestyles4","7");
oModelSeries.Add("175","Lifestyles5","7");
oModelSeries.Add("176","West-Central4","7");
oModelSeries.Add("177","West-Central","7");
oModelSeries.Add("178","Business4","8");
oModelSeries.Add("179","Business5","8");
oModelSeries.Add("180","Editorials4","9");
oModelSeries.Add("181","Editorials5","9");
oModelSeries.Add("182","Polls and Interact-Poll4","9");
oModelSeries.Add("183","Polls and Interact-Poll5","9");
oModelSeries.Add("185","Sports1","13");
oModelSeries.Add("186","Sports2","13");
oModelSeries.Add("187","Sports3","13");
oModelSeries.Add("188","Sports4","13");
oModelSeries.Add("189","Sports5","13");
oModelSeries.Add("190","Moments-Weddings1","14");
oModelSeries.Add("191","Moments-Weddings2","14");
oModelSeries.Add("192","Moments-Weddings3","14");
oModelSeries.Add("193","Moments-Weddings4","14");
oModelSeries.Add("194","Moments-Weddings5","14");
oModelSeries.Add("195","Moments-Weddings6","14");
oModelSeries.Add("196","Moments-Weddings7","14");
oModelSeries.Add("197","Moments-Weddings8","14");
oModelSeries.Add("198","Moments-Weddings9","14");
oModelSeries.Add("199","Moments-Weddings10","14");
oModelSeries.Add("200","Moments-Weddings11","14");
oModelSeries.Add("201","Moments-Weddings12","14");
oModelSeries.Add("202","Moments-Weddings13","14");
oModelSeries.Add("203","Moments-Weddings14","14");
oModelSeries.Add("204","Moments-Weddings15","14");
oModelSeries.Add("205","Moments-Weddings16","14");
oModelSeries.Add("206","Moments-Weddings17","14");
oModelSeries.Add("207","Moments-Weddings18","14");
oModelSeries.Add("208","Moments-Weddings19","14");
oModelSeries.Add("209","Moments-Weddings20","14");
oModelSeries.Add("210","Moments-Weddings21","14");
oModelSeries.Add("211","Moments-Weddings22","14");
oModelSeries.Add("212","Moments-Weddings23","14");
oModelSeries.Add("213","Moments-Weddings24","14");
oModelSeries.Add("214","Moments-Weddings25","14");
oModelSeries.Add("215","Moments-Weddings26","14");
oModelSeries.Add("216","Moments-Weddings27","14");
oModelSeries.Add("217","Moments-Weddings28","14");
oModelSeries.Add("218","Moments-Weddings29","14");
oModelSeries.Add("219","Moments-Weddings30","14");
oModelSeries.Add("220","Moments-Engagements1","15");
oModelSeries.Add("221","Moments-Engagements2","15");
oModelSeries.Add("222","Moments-Engagements3","15");
oModelSeries.Add("223","Moments-Engagements4","15");
oModelSeries.Add("224","Moments-Engagements5","15");
oModelSeries.Add("225","Moments-Engagements6","15");
oModelSeries.Add("226","Moments-Engagements7","15");
oModelSeries.Add("227","Moments-Engagements8","15");
oModelSeries.Add("228","Moments-Engagements9","15");
oModelSeries.Add("229","Moments-Engagements10","15");
oModelSeries.Add("230","Moments-Engagements11","15");
oModelSeries.Add("231","Moments-Engagements12","15");
oModelSeries.Add("232","Moments-Engagements13","15");
oModelSeries.Add("233","Moments-Engagements14","15");
oModelSeries.Add("234","Moments-Engagements15","15");
oModelSeries.Add("235","Moments-Engagements16","15");
oModelSeries.Add("236","Moments-Engagements17","15");
oModelSeries.Add("237","Moments-Engagements18","15");
oModelSeries.Add("238","Moments-Engagements19","15");
oModelSeries.Add("239","Moments-Engagements20","15");
oModelSeries.Add("240","Moments-Engagements21","15");
oModelSeries.Add("241","Moments-Engagements22","15");
oModelSeries.Add("242","Moments-Engagements23","15");
oModelSeries.Add("243","Moments-Engagements24","15");
oModelSeries.Add("244","Moments-Engagements25","15");
oModelSeries.Add("245","Moments-Engagements26","15");
oModelSeries.Add("246","Moments-Engagements27","15");
oModelSeries.Add("247","Moments-Engagements28","15");
oModelSeries.Add("248","Moments-Engagements29","15");
oModelSeries.Add("249","Moments-Engagements30","15");
oModelSeries.Add("250","Moments-Anniversaries1","16");
oModelSeries.Add("251","Moments-Anniversaries2","16");
oModelSeries.Add("252","Moments-Anniversaries3","16");
oModelSeries.Add("253","Moments-Anniversaries4","16");
oModelSeries.Add("254","Moments-Anniversaries5","16");
oModelSeries.Add("255","Moments-Anniversaries6","16");
oModelSeries.Add("256","Moments-Anniversaries7","16");
oModelSeries.Add("257","Moments-Anniversaries8","16");
oModelSeries.Add("258","Moments-Anniversaries9","16");
oModelSeries.Add("259","Moments-Anniversaries10","16");

*******************************************************************************
*** below is the CATEGORY selection control -- this works fine ***
*******************************************************************************

<SELECT name=storycategory id=storycategory
onchange="UpdateSelect('storysubcategory','form1',this.options[this.selectedIndex].value,oModelSeries);">
                      <option value="">[Select a Category]</option>
                      <option value="1">Front Page</option>
                      <option value="2">Local News</option>

                      <option value="3">State News</option>
                      <option value="13">Sports</option>
                      <option value="4">Local Sports - College</option>
                      <option value="5">Local Sports - Preps</option>
                      <option value="6">Local Sports - Community</option>
                      <option value="7">Features</option>

                      <option value="8">Business</option>
                      <option value="9">Opinions</option>
                      <option value="10">Obituaries</option>
                      <option value="11">Special Features</option>
                      <option value="12">About Us</option>
                      <option value="14">Moments - Weddings</option>

                      <option value="15">Moments - Engagements</option>
                      <option value="16">Moments - Anniversaries</option>
                    </select>

*******************************************************************************
*** below is the subcategory selection control, it DOES NOT work ***
*******************************************************************************

<SELECT name=storysubcategory id=storysubcategory >
                      <option>[Select a SubCategory]</option>
                      <option></option>

                      <option></option>
                      <option></option>
                    </select>
(Reporter)

Comment 1

13 years ago
Created attachment 174477 [details]
a jpg of the list box not working (very exciting)

no additional comments really required

Comment 2

13 years ago
Whilst there are probably enough things wrong with this report to earn it
a place on the http://www.mozilla.org/quality/bug-writing-guidelines.html 
in the 'how not to do it section' merely from what we can read here; note that
going to the URL in comment 1 opens a pop-up advertisement.

If you are boasting that you beaten this community project's sanity saver,
well done.

If I had the right to do so I would tell you to go away, right quick.

Comment 3

13 years ago
(In reply to comment #2)
> If you are boasting that you beaten this community project's sanity saver,
> well done.

<!-- J CARTER POP-UNDER CODE v1.8 for leadertelegram.com (12 hour) -->
<script language="javascript">
<!--

<!--
var dc=document; var date_ob=new Date();
dc.cookie='h2=o; path=/;';var bust=date_ob.getSeconds();
if(dc.cookie.indexOf('e=llo') <= 0 && dc.cookie.indexOf('2=o') > 0){
dc.write('<scr'+'ipt language="javascript" src="http://media.fastclick.net');
dc.write('/w/pop.cgi?sid=15904&m=2&v=1.8&c='+bust+'"></scr'+'ipt>');
date_ob.setTime(date_ob.getTime()+43200000);
dc.cookie='he=llo; path=/; expires='+ date_ob.toGMTString();} // -->
//-->
</script>
<!-- J CARTER POP-UNDER CODE v1.8 for leadertelegram.com -->

Dup of Bug 282382 "javascript pop up / under bypasses protection with doc.write"
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
(Reporter)

Comment 5

13 years ago
after receiving a notice that it had been three months since this issue was
opened, with no input, i decided to check it again with 1.5 beta 1, and it still
exhibits the same behavior.
Assignee: bugs → nobody
The last bit of comment 0 seems to indicate that the generated HTML has empty <option> elements. The browser is doing what it's told. If this is still a problem, it's likely in the server-side HTML generation.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → INVALID
(Assignee)

Updated

10 years ago
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.