Tuesday, November 23, 2010

How To Create Text Area with Select All

Login To Blogger Go To > Design > Edit HTML.

and mark the tick box "Expand Widget Templates"

Then, find (CTRL+F) this code in the template.

And immediately before it, paste this code:
<script type="text/javascript">

function selectAll()

Now click Save Templste.

Then, Go To > Design > Page Elements.

Simply add a Gadget of HTML/JavaScript type.

add this code in to it:
<form name="form1" >
<textarea cols="25" rows="10" name="demo">


<input type="button" name="selectit" value="Select All" onclick="selectAll ();">
Note : Remember to replace INSERT YOUR CONTENT HERE with your real content.

Now you are done.

Subscribe to this Blog via Email:

Click here to Subscribe to FREE email updates from "Blogger Tutorials", so that you do not miss out anything that can be valuable to you and your blog!!

Spread It : Share On Facebook ! Share On Google Buzz ! Add To ! Share On Digg ! Share On Reddit ! Share On LinkedIn ! Post To Blogger ! Share On StumbleUpon ! Share On Friend Feed ! Share On MySpace ! Share On Yahoo Buzz ! Get These Share Buttons ! Share On Google Reader ! Google Bookmark ! Send An Email ! Blog Feed !


Post a Comment


Recent Posts


Recent Comments