Modify ↓
Opened 13 years ago
Closed 13 years ago
#10693 closed defect (fixed)
`select.val()` does not work on Internet Explorer with Trac 0.11.7
| Reported by: | Jun Omae | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Component: | AdminEnumListPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Stepan Riha, Jun Omae | Trac Release: | 0.11 |
Description
When changing a select box in "Order" columns, I got the following error on IE 8 with Trac 0.11.7. No error with IE 8 and Trac 0.12.4.
Message: No object Line: 136 Char: 3 Code: 0 URI: http://localhost:3000/chrome/adminenumlistplugin/adminenumlist.js
It looks that select.val() does not work with jquery 1.2.6 on IE.
I found the workaournd that we can use $(':selected', select).val() instead of select.val(), fix-select-val-on-ie-r12424.diff.
Attachments (1)
Change History (6)
Changed 13 years ago by
| Attachment: | fix-select-val-on-ie-r12424.diff added |
|---|
comment:1 Changed 13 years ago by
| Status: | new → assigned |
|---|
comment:2 Changed 13 years ago by
comment:3 Changed 13 years ago by
comment:4 Changed 13 years ago by
| Summary: | `select.val()` does not work on Internet Exploer with Trac 0.11.7 → `select.val()` does not work on Internet Explorer with Trac 0.11.7 |
|---|
comment:5 Changed 13 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.



It looks like the issue might be due to the
optionelements not having avalueattribute. See here and here.