Opened 11 years ago
Closed 11 years ago
#11581 closed bug (invalid)
select.val() returns an object in IE 8
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | attributes | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
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 (3)
comment:1 follow-up: 2 Changed 11 years ago by
comment:2 Changed 11 years ago by
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)
comment:3 Changed 11 years ago by
Component: | unfiled → attributes |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
Tried removing the type="text" and it returned a string again.
Note: See
TracTickets for help on using
tickets.
Just curious - why do you have type="text" on the select element?