Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: execcommand erase link
11-30-2012, 12:17 AM #1
- Join Date
- Dec 2005
- Thanked 77 Times in 77 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. ?