Bug Tracker

Modify

Ticket #4844 (closed bug: worksforme)

Opened 4 years ago

Last modified 4 years ago

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

test-4844.html Download (467 bytes) - added by dmethvin 4 years ago.
Test case for #4844; works in IE8.0.1601.18702

Change History

comment:1 Changed 4 years ago by shehriyari

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 4 years ago by dmethvin

Test case for #4844; works in IE8.0.1601.18702

comment:2 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to worksforme

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.