Skip to main content

Bug Tracker

Side navigation

#6858 closed bug (worksforme)

Opened August 02, 2010 10:01AM UTC

Closed October 03, 2010 04:14AM UTC

Last modified March 13, 2012 09:33PM UTC

IE6 and IE7 textarea val() does not work

Reported by: olvi Owned by:
Priority: undecided Milestone: 1.4.3
Component: attributes Version: 1.4.2
Keywords: textarea val ie Cc:
Blocked by: Blocking:

Cant update textarea value with val(). In IE8 and all other browsers works fine.

Attachments (1)
  • test.html (0.3 KB) - added by olvi August 02, 2010 10:02AM UTC.

    Sample script

Change History (5)

Changed August 02, 2010 10:04AM UTC by olvi comment:1

I'am using Spoon Browser Sandbox if it has something to do with it...

Changed October 01, 2010 09:33AM UTC by jitter comment:2

Probably invalid bug-report. Your test-case (as you yourself mentioned) works in every major browser so if this Spoon Browser Sandbox messes with the default behavior of the sandboxed browsers you should file a reproducible bug report to the Spoon team.

I installed the Spoon Browser Sandbox plugin and tried your test with FF4b2, IE8 and Opera10 but it worked in all those sandboxed browsers.

Maybe retest again and add which browser exactly you use to launch the Spoon Sandbox and which browser this test fails in when sandboxed.

Changed October 01, 2010 11:42AM UTC by jitter comment:3

Missed that you specified IE6/7 in the bug title as not working. I went back and tried IE6/7 via Spoon Browser Sandbox on your testcase too. They both displayed a textarea with the text "It works!" so I can't reproduce your bug.

Maybe the Spoon plugin was updated since or something else is the cause. But it is neither jQuery nor IE6/7

Changed October 03, 2010 04:14AM UTC by addyosmani comment:4

priority: → undecided
resolution: → worksforme
status: newclosed

Both jitter and I have been able to update the value of textarea across all major recent versions of IE (6,7,8 and I just tested 9) through val() without any problems. I think that this is a case of the Spoon Browser SandBox being responsible for the bug (or an older version of it).

Flagging as worksforme.

Changed September 10, 2011 01:26AM UTC by anonymous comment:5

textarea.val does not work in IE8 and below ONLY when that value was generated automatically, (php session value, etc)