petrolvilla.it - javascript function on a select box doesn't work

RESOLVED FIXED in Future

Status

Tech Evangelism Graveyard
Italian
RESOLVED FIXED
13 years ago
3 years ago

People

(Reporter: goanimal, Assigned: Lorenzo Simionato)

Tracking

unspecified
Future
x86
Windows XP

Details

(URL)

(Reporter)

Description

13 years ago
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
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

13 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)

Comment 2

12 years ago
TE Letter sended.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Assignee)

Updated

12 years ago
Assignee: italian → lorenzo
(Assignee)

Updated

12 years ago
Status: NEW → ASSIGNED
(Assignee)

Updated

12 years ago
Target Milestone: --- → Mar
(Assignee)

Comment 3

12 years ago
No response to TE letter.
Target Milestone: Mar → Future

Comment 4

12 years ago
Fixed, the select element now has id="articoli".
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.