can javascript do this kind of trick?
...:( :rolleyes: :confused:
Printable View
can javascript do this kind of trick?
...:( :rolleyes: :confused:
will get the current highlighted text within the document. Not sure with regards to text areas though...Code:document.getSelection();
Yeah I don't reckon you'll be able to bold text in a form element either.
Is that cross-browser by the way Lee, or just IE?
cross browser I think. It's part of the document object.
Oh right, I don't think I've seen it before.
:D
nop :p coz i think if we can do it, of course our vbforums reply form would not be the same ( i hope people will understand this!)
after all the textarea is considered as one single object and only one way to access it value... right?
if not please tell me the truth people!
.. thanks for the replies
:)