Modify ↓
Ticket #11581 (closed bug: invalid)
select.val() returns an object in IE 8
| Reported by: | patrick.arminio@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | attributes | Version: | 1.7.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Hi, I've found (maybe) a bug in Internet Explorer 8.
If I try to get the value of a select with $.val() jQuery returns an object even if there is not multiple="multiple" specified.
Here is the demo:
Change History
comment:2 in reply to: ↑ 1 Changed 14 months ago by patrick.arminio@…
Replying to rwaldron:
Just curious - why do you have type="text" on the select element?
Oh, it was a normal input element, then I changed it to a select and forgot to remove the type attribute.
Maybe is this the problem? I'll test tomorrow (now I don't have any pc with IE)
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Just curious - why do you have type="text" on the select element?