You may have noticed that whenever you want you to copy code from a text area when it got focus it will highlight all of the code for you to copy and paste onto your website. Well I thought I will share that code snippet with you as it can be very handy.
<form name=”form1″>
<textarea name=”textarea” onFocus=”select()”>Please highlight me</textarea>
</form>
Be First To Comment
Related Post
Leave Your Comments Below