iav / iphone-universal

Automatically exported from code.google.com/p/iphone-universal
GNU Affero General Public License v3.0
0 stars 1 forks source link

Fields in demo use onclick. Onfocus is better #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the form demo, change

onclick="clickclear(this, 'Default value')"

to

onfocus="clickclear(this, 'Default value')"

This will make it also work when a user uses Tab to go to that field

Original issue reported on code.google.com by clive.ga...@gmail.com on 19 Jan 2010 at 5:36