i’m trying to get an input box to get auto-selected when the user clicks on it
the code i’m using :
<input type="text" onclick="this.focus();this.select();" value="i like pie">
tried with the solution provided here
the problem is that the code works for FF, Opera, Internet Explorer 8/7 but not for IE 6… any ideas how to make it work for IE6 too ?
The code works for me too.
If you don’t have JavaScript enabled in your browser, your code wouldn’t work. Check if JavaScript is enabled.