Dartcalculators - darts blog
 
>>> www.dartcalculators.com <<<
 

Friday, September 08, 2006

Javascript clear field on focus

When a field gets focus it must be cleared.
It's used by filling in the score in the dart claculators.

Example
(html)
onfocus="clearDart(this)

(javascript)
function clearDart(Input)
{
Input.value = ''
}

0 Comments:

Post a Comment

<< Home


 
Thanks Disclaimer Last update: 17-07-2008
 
5