1.Log in to your dashboard--> layout- -> Edit HTML
3.Now add below code before </head> tag.
function selectAll() { document.form1.demo.focus(); document.form1.demo.select(); } </script> |
4.Save your template.
5.Go to layout-->Page Elements.
6.Click on 'Add a Gadget' on the sidebar.
7.Select 'HTML/Javascript' and add the code given below and click save.
<textarea cols="25" rows="10" name="demo"> INSERT YOUR CONTENT HERE </textarea> <input type="button" name="selectit" value="Select All" onclick="selectAll ();"> </form> |
Note : Remember to replace INSERT YOUR CONTENT HERE with your real content.
Now you are done.
0 comments:
Post a Comment