Closed Bug 890255 Opened 11 years ago Closed 11 years ago

Input arrays do not trigger onblur event when another input with same name[] is clicked

Categories

(Firefox :: Untriaged, defect)

21 Branch
x86_64
Windows 7
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: damiengoor, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release)
Build ID: 20130511120803

Steps to reproduce:

In form having inputs named the same => e.g. 
<form>
<input type='text' name='input[]' onblur='alert("value is "+this.value)'>
<input type='text' name='input[]' onblur='alert("value is "+this.value)'>
<input type='text' name='input[]' onblur='alert("value is "+this.value)'>
</form>


Actual results:

"onblur" event does not fire when the focus is on the first input and the second is clicked. "onfocus" does.


Expected results:

I would expect "onblur" to fire on input 2
Severity: normal → minor
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.