id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blocking,blockedby
5159,Unexpected attribute selector behaviour,SpadXIII,,"I have 2 forms with each just 2 elements:

form1:

- text input with the name/id=""name""
- submit input with name/id=""submit""

form2:

- text input with the name/id=""name2""
- submit input with name/id=""submit2""

When I try to select the submit buttons to add an onclick-event, I get unexpected results.
I'm selecting the submit buttons like:

$('form[name=form1] :submit');

$('form[name=form2] :submit');

Selecting the submit in form1 does not work, while selecting the submit in form2 does work. The only difference between the 2 forms is the inputs name/id.
See attached html sample.",bug,closed,critical,1.4,unfiled,1.3.2,invalid,selector attribute,,,
