luni, 1 iulie 2013

HTML text area box with select all button for blogger

1. Go to dashboard, find your template
2. Edit HTML
3. CTRL + F and find </head>
4. Paste below the following code:

  • <script type="text/javascript">
  • function selectAll()
  • {
  • document.form1.demo.focus();
  • document.form1.demo.select();
  • }
  • </script>
5. Now to finish all:



Code:
  • <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>
Here the box does not work because i don't need it.

 More tutorials will come soon subscribe (via Email) and like us.

Niciun comentariu:

Trimiteți un comentariu