Objects and forms
A basic example
function test1(form) {. if (form.userName.value.length < 3). alert("Please enter your name!"). else name="true”. }
<INPUT TYPE= "text" NAME="userName" onChange="test1(this.form)" >.
Full
example
Previous slide
Next slide
Back to first slide
View graphic version