Skip to main content

Bug Tracker

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:

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 (1)
  • test-4844.html (0.5 KB) - added by dmethvin October 19, 2009 01:23AM UTC.

    Test case for #4844; works in IE8.0.1601.18702

Change History (2)

Changed July 02, 2009 05:35PM UTC by shehriyari comment:1

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.

Changed October 19, 2009 01:23AM UTC by dmethvin comment:2

resolution: → worksforme
status: newclosed