Solved

HTML TEXTAREA

Posted on 2000-03-20
4
779 Views
Last Modified: 2008-02-01
Hi,

Does anybody know if it's possible to insert 'bullets' (that can be displayed and saved to database), within a HTML Textarea?

(Do I have to use unicode char - and if so what is it?)

Thanks, Andy
0
Comment
Question by:amtate
4 Comments
 

Expert Comment

by:Fuzzhead
ID: 2636972
I have never heard, or seen it done
anywhere.
0
 
LVL 4

Expert Comment

by:mberumen
ID: 2637027
Andy:  while you can not create true bullets, you could simulate them by storing the contents of your textarea as a memo field in your table.

for example if you want to create a new bullet everytime the user presses enter inside the text box then you can validate the text and replace the chr(10) + chr(13) it with a  bullet sign .

for example

strtextsubmitted=request("textarea")
strtextwithbullets=replace(strtextsubmitted, chr(10)+chr(13),"<br>•")

'store in table

when you read it from the database and display it it should display as a bulleted list...

i may be completely off and I haven't tested this code.. any ideas anyone?
0
 

Accepted Solution

by:
mborgetti earned 35 total points
ID: 2637313
The above would work provided you truly want to display your data in something other than a textarea at some point in time.

However, before bringing the data back into the text area you would have to convert the "<BR>" back into chr(10)+chr(13). Your best bet would be to not store true bullets at all since what you can enter into a text area is so limited.
0
 

Author Comment

by:amtate
ID: 2639388
Thanks ...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Classic ASP + JS 4 82
Help with stored procedure 30 59
add custom headers to my mail 2 48
API not working 33 57
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now