Mutley Posted December 5, 2006 Share Posted December 5, 2006 How do I do it so when you click on a text form field, it selects all of the content inside it? Quote Link to comment https://forums.phpfreaks.com/topic/29578-clicking-on-form-selects-all/ Share on other sites More sharing options...
Stooney Posted December 5, 2006 Share Posted December 5, 2006 onClick="javascript:this.form.text_area.focus();this.form.text_area.select();" Quote Link to comment https://forums.phpfreaks.com/topic/29578-clicking-on-form-selects-all/#findComment-135692 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.