Side navigation
#4844 closed bug (worksforme)
Opened July 02, 2009 05:33PM UTC
Closed October 19, 2009 01:23AM UTC
jQuery get textarea text
Reported by: | shehriyari | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | build | Version: | 1.3.2 |
Keywords: | Attributes : val() | Cc: | |
Blocked by: | Blocking: |
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
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.