How To Make Text Area With Auto highlight on Mouse Over

1.Login to your dashboard--> layout- ->Page Elements

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

3.Select 'HTML/Javascript' and add the code given below and click save.

<textarea rows="5" cols="15" onfocus="this.select()" onmouseover="this.focus()" style="display: inline;" name="txt" onclick="this.focus();this.select()">

Enter Your Content Here

</textarea>


Note : Remember to replace Enter Your Content Here with your real content.

Look at the example below.

0 comments:

Post a Comment

 

Support By Blogger