Modify ↓
Ticket #4844 (closed bug: worksforme)
jQuery get textarea text
| Reported by: | shehriyari | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | build | Version: | 1.3.2 |
| Keywords: | Attributes : val() | Cc: | |
| Blocking: | Blocked by: |
Description
For some reason this line in my code does not work with IE8, whereas it does with everything else [I mean non-IE]:
value = $("FORM TEXTAREA[name='param']").val();
IE8 reports
Attachments
Change History
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.


IE reports "Object does not support this property or method".
I tried to google this case, in general, with textarea - but it seems textareaObject has valid value() method in JScript, so what is the problem?
I tried text() method with the object, but this time all browsers failed to work as intended.