Side navigation
#9232 closed bug (worksforme)
Opened May 11, 2011 10:21AM UTC
Closed May 11, 2011 12:39PM UTC
.val() is not worked for <select id="x.x"></select>
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | manipulation | Version: | 1.4.4 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
It is worked fine for <input id="y.y" /> but not for selects.
$("#x\\\\.x").val("something") // does nothing
Attachments (0)
Change History (2)
Changed May 11, 2011 10:24AM UTC by comment:1
Changed May 11, 2011 12:39PM UTC by comment:2
| component: | unfiled → manipulation |
|---|---|
| priority: | undecided → low |
| resolution: | → worksforme |
| status: | new → closed |
Thanks for submitting a ticket to the jQuery project. This is working fine with jQuery 1.6 and above. Please see here for a test case demonstrating how to correctly use this: http://jsfiddle.net/CNXxF/1/.
I'm sorry for formatting.
$("#x\\\\.x").val("something") // does nothing