How To Add Text Area with Select All Java Script to Blogger

How To Add Text Area with Select All Java Script to Blogger

1.Login to your Bogger Dashboard and go to Desing >> & Page Elements.

2.Click on 'Add a Gadget' on the sidebar.

3.Select 'HTML/Javascript' and add the one of code given below



<script type="text/javascript">

function selectAll()
{
document.form1.demo.focus();
document.form1.demo.select();
}

</script>
<form name="form1" >
<textarea cols="25" rows="10" name="demo">

INSERT YOUR CONTENT HERE

</textarea>
<input type="button" name="selectit" value="Select All" onclick="selectAll ();">
</form>

Note: Repalce INSERT YOUR CONTENT HERE with your text 

4. Now Click on Save "Html Java Script" and You are done

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes