Grabbing selected text

  •  09-06-2005, 1:19 AM

    Grabbing selected text

    Hi,
     
    I have a custom button which when clicked I want to insert a <a href="link"></a> around the text.
     
    the link is always as above so I need no pop up box etc. just to immediately put the tags around as is the case with something like the bold button
     
    Any ideas
     
    Thanks
    Andy
View Complete Thread