We will learn blog tricks how to make text area with highlight button. This blog tricks to make text area with highlight button make it easier for visitors to copy words / code inside the text area.
Let learn blog tricks to make text area with the highlight button.
Simply copy the code below:
<center><div><form name="copy"><div align="center"><input value="Highlight" onclick="javascript:this.form.txt.focus();this.form.txt.select();" type="button">
<textarea rows="1" cols="22" name="txt" >Write your words/code here that will appear inside text area</textarea></div></form></div></center>
Paste in the place where you will place your text area.
The result will be like this:
Try clicking on the button 'Highlight'
So all the code / words inside will automatically selected, and visitors just copy it only.
This blog tricks to make text area with highlight button is very simple and easy, but have a lot of function.
Happy blogging ..
Nice post... I've been looking for this highlight code... and I found it in your blog . Thanks
ReplyDeletegreat Trick and share,..
ReplyDeletethanks,..
Always support on stop dreaming start action Blogging Success!
Its a nice blog tricks to make text area with highlight button. I think this would be helpful for the others to use this in to their blog. Thanks for sharing this.
ReplyDeleteit's not working !
ReplyDeletei clicked the highlight button
when it was already on my blog
but the codes are not highlghted !
thie help thanks^^
ReplyDeletei finding this for some period!!
now i found it!!
thank you very very much!!!
Thanks, that worked great! I added a CSS class to it to change the color background and add other formatting.
ReplyDeleteThanks for this great trick...
ReplyDeleteSuccess fr u!
thank for the tutorial its usefull ,
ReplyDeletethanks for your template and tutorial...nice share bro
ReplyDeleteGlobalteksol is a zeal for excelling the expectations of clients with advance IT Infrastructure and development services making us predominant among the crowd.
ReplyDeleteThanks Bro Nice tutorial.
ReplyDelete