View Single Post
Old 12-05-2012, 11:13 AM   PM User | #1
BubikolRamios
Senior Coder

 
Join Date: Dec 2005
Location: Slovenia
Posts: 1,876
Thanks: 114
Thanked 76 Times in 76 Posts
BubikolRamios is on a distinguished road
execCommand clear all formating

sample text:

chfjgj ghj gfhj hg jgfh jfg foo sdčlfaklsd foo gfhdfhg

assuming blue stuff is something like:

Code:
<font color='blue'>foo</font>
or 
<font color='blue' id = 'dsfasd' ...>foo</font>
How to clear that (assuming I selected one of 'foo's), using execCommand or anything else to 'foo' only ?
__________________
Found a flower or bug and don't know what it is ?
agrozoo.net galery
if you don't spot search button at once, there is search form:
agrozoo.net galery search
BubikolRamios is offline   Reply With Quote