firefoxguy
Apr 27th 2006, 12:39 am
Hi all,
I'm creating a firefox extention where i want to highlight some text when the user selects it.
Now i am able to grab the selected text using
window.getSelection() method
but i dont know how to add html tags to this text in order to keep this text highlighted.
Any help would be great
I'm creating a firefox extention where i want to highlight some text when the user selects it.
Now i am able to grab the selected text using
window.getSelection() method
but i dont know how to add html tags to this text in order to keep this text highlighted.
Any help would be great