BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 01-21-2008, 02:34 AM   #1
goodman ray
New Member
 
Join Date: Jul 2007
Model: 8300
PIN: N/A
Carrier: Simulator
Posts: 9
Default <textarea> value problem in BB browser

Please Login to Remove!

Hello

I am having a problem setting the value of a <textarea> when viewing a webpage in the BB browser (simulator 8830). I have javscript enabled on the browser.

e.g.

I am carrying out the following

function test()
{
window.document.forms['MainForm'].elements['TextArea'].value = 'some text';

}


<form name="MainForm">
<textarea rows="6" id="TextArea" name="TextArea" cols="26"> </textarea>

<INPUT TYPE="button" NAME="button" Value="Click" onClick="test()">
Next</a>
</form>

the text is not being added to the textarea?

This works in IE.

Any ideas
thanks
Andrew
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


APPLE 630-0895-B  VRAM 128K X 8 BOARD CARD VINTAGE picture

APPLE 630-0895-B VRAM 128K X 8 BOARD CARD VINTAGE

$74.77



APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD  picture

APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD

$149.99



128K RAM - APPLE - ORIGINAL APPLE prototype BOARD picture

128K RAM - APPLE - ORIGINAL APPLE prototype BOARD

$408.75







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.