
July 31st, 2000, 01:47 AM
|
|
Contributing User
|
|
Join Date: May 2000
Posts: 77
Time spent in forums: < 1 sec
Reputation Power: 9
|
|
|
hi,
I have minimal knowledge of javascript, however I need to use it to add some more functionality to my website. currently I am using php and mysql to populate a textarea with a media release. However I want the user to be able to position the cursor somewhere in that textarea and be able to click on a 'bold' button and have it insert the <b></b> tags. It would be even better if this was able to support if a user has the text selected (and place the tags at the start and beginning of the selected text). Can someone please help me, I have been working on this one for a quite awhile but the best I have come up with is setting the value to only put the <b></b> at the start and end of the entire field using .bold(). Thanks in advance...
dave
|