Results 1 to 2 of 2

Thread: How do you manipulate highlighted text in a form field?

  1. #1
    Join Date
    Jul 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How do you manipulate highlighted text in a form field?

    Does anyone know of a tutorial that demonstrates how to manipulate only hightlighted text? I'd like to created something similar to the Bold, Italic and Underline buttons used on this forum. For example, if you highlight a word and click the bold icon, the bold tags appear around the text. Is that done strictly with javascript? Thanks in advance!

  2. #2
    Join Date
    Jun 2006
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,

    Refer the link below,

    http://www.thecodebehind.com/code/ja...ld-italic.aspx

    to make the text bold,italic and underline using javascript.

    Regards,

    Valli

    (www.syncfusion.com)

    ASP.Net FAQ:
    http://www.syncfusion.com/faq/aspnet/default.aspx

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •