Hi,
Can't see where I have went wrong with this line of code. What I want to do is everytime this box gets focus I want a default value of 1 to be shown.
[HTML]<input type = "text" value = "1" name = "quantity" id = "quantity" onfocus="docume nt.getElementBy Id('quantity'). value = 1"></td>[/HTML]
It is fine the first time as the value is already declared but on each attempt after it doesn't show
Can't see where I have went wrong with this line of code. What I want to do is everytime this box gets focus I want a default value of 1 to be shown.
[HTML]<input type = "text" value = "1" name = "quantity" id = "quantity" onfocus="docume nt.getElementBy Id('quantity'). value = 1"></td>[/HTML]
It is fine the first time as the value is already declared but on each attempt after it doesn't show
Comment