Hi all,
been a while since i've been dabbling in javascript this much!!!
I have a form, when i leave a field i want to verify its the correct data type ie. number, if not put up a warning then go back to the box with the content highlighted.
This is, as i remembe it, a simple bit of code but for the life of me can i remember it off the top of my head.
can anyone save me some time, i know you have to pas 'this' to the function so you can focus back on the field but i think my brain may explode if i keep trying/searching for the answer.
Cheers
daveJam
*two wrongs don't make a right..... but three lefts do!!!!*
been a while since i've been dabbling in javascript this much!!!
I have a form, when i leave a field i want to verify its the correct data type ie. number, if not put up a warning then go back to the box with the content highlighted.
This is, as i remembe it, a simple bit of code but for the life of me can i remember it off the top of my head.
can anyone save me some time, i know you have to pas 'this' to the function so you can focus back on the field but i think my brain may explode if i keep trying/searching for the answer.
Cheers
daveJam
*two wrongs don't make a right..... but three lefts do!!!!*