Author: hhubner Date: 2006-03-17 14:20:10 -0500 (Fri, 17 Mar 2006) New Revision: 1937
Modified: branches/xml-class-rework/projects/mah-jongg/website/game.xsl Log: Select existing input when navigating to a 'doubles' field - as requested by Julia.
Modified: branches/xml-class-rework/projects/mah-jongg/website/game.xsl =================================================================== --- branches/xml-class-rework/projects/mah-jongg/website/game.xsl 2006-03-17 18:56:13 UTC (rev 1936) +++ branches/xml-class-rework/projects/mah-jongg/website/game.xsl 2006-03-17 19:20:10 UTC (rev 1937) @@ -140,7 +140,11 @@ <input autocomplete="off" id="{@wind}-score" tabindex="1" class="score-input" onchange="return check_new_game_inputs();" value=""/> </td> <td> - <input autocomplete="off" id="{@wind}-doubles" tabindex="1" class="score-input" onchange="return check_new_game_inputs();" value="0"/> + <input autocomplete="off" id="{@wind}-doubles" tabindex="1" class="score-input" + onchange="return check_new_game_inputs();" + onfocus="this.select()" + onclick="this.select()" + value="0"/> </td> <td> <input autocomplete="off" id="{@wind}" name="{@wind}" class="score-input" readonly="readonly" value=""/>