$("input[multiple]").click();
That command works fine in Chrome / Firefox but not IE, does anyone know what the cross browser equivalent of it would be?
edit
With thanks to @Andrew Marshall
alert($("input[multiple]").size())
returns 0.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
at least I do not see any ‘multiple’ attribute at the
<input> tag for old html:http://www.w3.org/TR/html401/interact/forms.html
that attribute looks like something new in html5:
http://dev.w3.org/html5/spec/common-input-element-attributes.html#attr-input-multiple
which IE are you using? does it support html5? does it just fallback to html4? i checked IE6, IE7 and IE8 on http://html5test.com and neither of them supports the ‘multiple’ attribute at the
<input>tag.