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? 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();" 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
Archived
This topic is now archived and is closed to further replies.