ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 30th, 2003, 05:37 AM
tosurender tosurender is offline
Techincal Developer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: New Delhi India
Posts: 12 tosurender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Red face Convert HTML Tags in Textarea by ASP

hi ,
i wanna convert the HTML tags in the Textarea with help of the ASP code. Means i m getting some value form DB which comes in the format of
------------
this is text <br><br><ul><li> list-1 value</li><li>list-2 val</li></ul>
------------
i wanna conversion of the above text in textarea
i think this will make sense to U
help me out int his it is very URGENT
thanx
Sur

Reply With Quote
  #2  
Old January 30th, 2003, 07:37 AM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 44 m 30 sec
Reputation Power: 8
Do you want the conversion to occur when the data is next displayed, similiar to how http://forums.devshed.com works?
__________________
El éxito consiste en una serie de pequeñas victorias día a día

MySQL, MS SQL, MS ACCESS, Oracle Database Manager - http://victorpendleton.net/products/psdviewer.html

Reply With Quote
  #3  
Old January 30th, 2003, 10:55 PM
tosurender tosurender is offline
Techincal Developer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: New Delhi India
Posts: 12 tosurender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Red face no no Mr. victorpendleton read this now

hi victorpendleton,
data is stored in DB is like this
==============
<br><br> <ul> <li> list-1 value </li> <li>list-2 val</li> </ul>
==============
i want to display this data in the form whn it converts this as HTML value
my biggest problem is tht i want to display this value in TEXTAREA.

i think this make sense to u
bye
Surender

Reply With Quote
  #4  
Old January 31st, 2003, 12:45 AM
victorpendleton victorpendleton is offline
Contributing User
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2003
Location: No es importante
Posts: 2,065 victorpendleton User rank is Private First Class (20 - 50 Reputation Level)victorpendleton User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 44 m 30 sec
Reputation Power: 8
You may want to check with a Javascript expert but I do not believe you can format a textarea. If the text is for display and not for use updating, would you be inclined to just display the formatted data in a table data cell.

Reply With Quote
  #5  
Old January 31st, 2003, 12:54 AM
tosurender tosurender is offline
Techincal Developer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: New Delhi India
Posts: 12 tosurender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanx a lot victorpendleton sir

hi victorpendleton,
sir thanx a lot for u'r elp and quick reply
tht's wht i want to listen from any of the programmer tht it is not possible actually i tried my best to do this but the thing is i got faliuer so at the end i came to know tht TEXTAREA is a form-element not an editor whr i can show the formatted result
but just to confir this i post the question here.
so i think u r right this is not possible
br
surender

Reply With Quote
  #6  
Old February 3rd, 2003, 03:09 PM
mad8vskillz mad8vskillz is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Philladelphia
Posts: 23 mad8vskillz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Re: thanx a lot victorpendleton sir

Quote:
Originally posted by tosurender
hi victorpendleton,
sir thanx a lot for u'r elp and quick reply
tht's wht i want to listen from any of the programmer tht it is not possible actually i tried my best to do this but the thing is i got faliuer so at the end i came to know tht TEXTAREA is a form-element not an editor whr i can show the formatted result
but just to confir this i post the question here.
so i think u r right this is not possible
br
surender


from what i remember in javascript, a text area follows javascript string laws (a lot like the c++ strings)
a paragraph return would be a \n in the textbox...

Reply With Quote
  #7  
Old November 13th, 2003, 12:35 AM
schithu schithu is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 1 schithu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,
Did you find it? Because i'm in need of samething.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Convert HTML Tags in Textarea by ASP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway