Closed
Bug 284750
Opened 19 years ago
Closed 18 years ago
petrolvilla.it - javascript function on a select box doesn't work
Categories
(Tech Evangelism Graveyard :: Italian, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: goanimal, Assigned: lorenzo)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7.6) Gecko/20050226 Firefox/1.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7.6) Gecko/20050226 Firefox/1.0.1 When you try to select another item on the select box (that by a javascrit function redirect to another html page) it doesn't bring you on that page. Reproducible: Always Steps to Reproduce: 1.Select item from the box 2.at selection normally it will redirect to another page listed 3. Actual Results: No redirect Expected Results: redirect on another html page It works with IE
Comment 1•19 years ago
|
||
I get this js error: Error: puntatore has no properties Source File: http://www.petrolvilla.it/redazionale/4/art01.htm Line: 13 This is the total function: function vaiURL(){ var puntatore = document.getElementById("articoli"); url = puntatore.options[puntatore.selectedIndex].value; document.location.href=url; } There is no element with id="aricoli", on a <select> with name="articoli". Document.getElementById() can only used for elements with an id. So this bug is invalid or a Tech Evangelism bug.
Updated•19 years ago
|
Assignee: firefox → italian
Component: General → Italian
Product: Firefox → Tech Evangelism
QA Contact: general → italian
Summary: javascript function on a select box doesn't work → petrolvilla.it - javascript function on a select box doesn't work
Assignee | ||
Updated•18 years ago
|
Assignee: italian → lorenzo
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•18 years ago
|
Target Milestone: --- → Mar
Comment 4•18 years ago
|
||
Fixed, the select element now has id="articoli".
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•