Active Server Pages

Moderators: None (Apply to moderate this forum)
Number of threads: 1751
Number of posts: 4473

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Can't read disabled textarea Posted by alonzo_harris on 8 Jun 2006 at 4:22 AM
Apologies if this has been answered somewhere else on the forum:
I have a textarea whose contents have to be entered into an Oracle table.
However this textarea is disabled just before the data is entered.
Data from a disabled textarea will not go into the table,it just comes up blank.
I can use a hidden textarea and transfer the text to it but the textarea is not hidden, it appears as a line for some reason.
Is there some way I can cast the variable the textarea contents are holding so it will be entered into the table?
Report
Re: Can't read disabled textarea Posted by Manning on 14 Jul 2006 at 10:13 AM
: Apologies if this has been answered somewhere else on the forum:
: I have a textarea whose contents have to be entered into an Oracle table.
: However this textarea is disabled just before the data is entered.
: Data from a disabled textarea will not go into the table,it just comes up blank.
: I can use a hidden textarea and transfer the text to it but the textarea is not hidden, it appears as a line for some reason.
: Is there some way I can cast the variable the textarea contents are holding so it will be entered into the table?


Not sure what the "appears as a line" means, but if you want a visible text area whose contents will be posted back with a form, try making it read-only instead of making it disabled. Should do the trick.
Report
Re: Can't read disabled textarea Posted by maajmeri on 4 Nov 2006 at 9:37 AM
well before you submit the form just enable that textarea and then submit the form you can do it by javascript at client side.



Think, think again there is no undo in life
Annu
http://www.superdiscountshop.com/




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.