Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 20th, 2005, 10:19 PM
Authorized User
 
Join Date: Aug 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP and textarea tag

:)Hello,

This line is pure Html and is part of test.asp page.
<textarea name="TextAreaName" cols="20" rows="15" readonly></textarea>

Now, from somewhere else in the test.asp page, I want to write let's say "HELLO WORLD!" in the text area using ASP. I've tried different coding with no success. The only way I could write something into the textarea tag element is by including the string in between tags.

Beside that, I'm not looking to create the textarea dynamically.

Actually, I want to be able to write different strings from different part of the page on the same existing text textarea. The problem is I cannot write any Do Loops or call a function from within the textarea tags; except using a <%= Text String %>

:D Thank you...

Ramez
__________________
Ramez
 
Old February 20th, 2005, 11:46 PM
Friend of Wrox
 
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

Hi,

 I am not clear with the question, but if you want to write contnets into the texatrea, then u can use javascript to do the same.

Om Prakash
 
Old February 21st, 2005, 12:45 AM
Authorized User
 
Join Date: Aug 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Thanks for answering. I know that it's simple to do with JavaScript.
But I needed to do it server side with VBSript. I found a compromise, not the way I wanted it, but it does work.

I've included ASP coding between the TextArea tags. I could not find in ASP something equivalent to JavaScript Client side coding for that kind of situation.

Thanks again..

Ramez





Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML tag from C# or ASP.NET tag from javascript angshujit ASP.NET 2.0 Basics 3 February 16th, 2007 10:07 AM
saving text from ASP textarea to Access arabuafef Access ASP 3 December 26th, 2006 04:09 AM
TEXTAREA tag in html sapphire87 PHP How-To 0 July 26th, 2006 02:25 PM
regarding textarea in asp nkramanmca Classic ASP Components 4 January 24th, 2005 03:53 AM
ASP: Textarea Problem when updating DB seala Access ASP 1 June 13th, 2003 12:35 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.