Opened 11 years ago
Closed 11 years ago
#10325 closed bug (worksforme)
Can't get value of hidden input
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | attributes | Version: | 1.6.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have partial html loaded through ajax get request. Partial include <input type="hidden" value="some number" id="jsInput" />
When I try to read value of that hidden input I got empty string when I use $('#jsInput').val() but $('#jsInput').attr('value') works fine.
Change History (1)
comment:1 Changed 11 years ago by
Component: | unfiled → attributes |
---|---|
Priority: | undecided → low |
Resolution: | → worksforme |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Seems to work fine. http://jsfiddle.net/timmywil/Dn8gZ/