Selecting text

wxdqz

New Member
Hi.

I was just wondering if someone could help me with something.

I want a user to be able to select some text in a textfield and when they press a button it adds QUOTE marks (" ") at the start and end of their selection.

If no text is selected and and the user clicks I would like nothing to happen (i.e no JAVASCRIPT ERRORS)

Thanks for your time
 
Back
Top