Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: execcommand erase link
11-29-2012, 11:17 PM #1
- Join Date
- Dec 2005
- Thanked 76 Times in 76 Posts
execcommand erase link
There is param unlink: http://msdn.microsoft.com/en-us/libr...=VS.85%29.aspx
Now, I want to use same button for make link and erase it.
Erase it in case that under selection there is a link.
If I check slection with selectionRange or cross browser compatible things I get only url text, which does not tel me there is a link.
Any suggestion, how to chech that user selected text that is actualy a link. ?