Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I wrap text in a new node

Status
Not open for further replies.

darkling235

Programmer
Oct 30, 2006
24
US
Hi. My deadline is rapidly coming up and I'm no closer to solving this problem than last week. The webapp requires a user to be able to highlight a selection of text and click a button on the app. The Highlighted text will then be wrapped in a new HTML tag (lets say its a <b> just for simplicity). My problem is I can't seem to wrap the text. Everytime I try either nothing happens or I get an exception.

This is supposed to work with FireFox

If anyone could tell me how to do this or even give me a code sample or two I'd be very grateful.

Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top