At the moment I have this in my text box form:
onfocus="if (this.value=='0') this.value=''"
I'd like to keep this but also add a clause so that it returns it to 0 (or blank but 0 would be more helpful) if it goes out of range (say 10). How would I combine the two? TIA
onfocus="if (this.value=='0') this.value=''"
I'd like to keep this but also add a clause so that it returns it to 0 (or blank but 0 would be more helpful) if it goes out of range (say 10). How would I combine the two? TIA