Ads 468x60px

Tuesday, October 25, 2011

How to Create a HTML On Click Select All Text Box?




Hello,
Dear loyal readers of easeblogger we have another html usefull trick.This is one handy trick or piece of code for Web Designers/Developers. The JavaScript & HTML code given below will create a text box whose all text content will be selected automatically when the user click on the text box itself. Like this one ->

The code for this ->

<form><textarea name="targetme" rows="3" cols="35" onclick="javascript:this.form.targetme.focus();this.form.targetme.select();">Insert your text here.(c)2011 Easeblogger</textarea></form>

Enjoy the 'ease'ness of blogging with easeblogger.
Do you Like this story..?

Get Free Email Updates Daily!

Follow us!

Thanks For Reading This! Kindly Bookmark and Share it.

0 comments:


Feel Free to ask

(c)Easeblogger 2011
Post a Comment