
December 17th, 2002, 02:53 AM
|
|
|
|
Join Date: Apr 2007
Location: WI
Posts: 247
Time spent in forums: < 1 sec
Reputation Power: 2
|
|
|
inserting into a textarea
hi folks.
what I am trying to do is set up a little editor for some very simple html for my builder.
this is real simple stuff I want the user to type in the text and then assign a style to it off a drop down.
I have the file reading in and writing out
It loads it into a textarea and then it can be edited.
WHat I need to do is have the user put these styles in the text box.
I tried to use a key stroke which worked quite well, I know how to use the selection and that worked quite well BUT the keystroke was still coming up I tried to use ` to do it and I can't NOT make it show the `
I tried to return false from the function but no dice.
I just want to use start tags like
<heading> blah blah blah
<normal>yada yada yada
I will look into clicking to insert, but I really wanted a key stroke (I wish I could use the insert key but it does not register inside the text area.
Any ideas on how I can avoid it poutting the keystroke up there too?
Thanks in advanced.
|