Hi, this might be basic but I'm not great with JS.

I have
Code:
function checkEemail(str,srt)
{
...
}

...FURTHER DOWN...
onKeyUp="checkEemail(this.value,email.value)"
Is this right? email.value is the value of a text field called "email".

str and srt are different values.

Thanks.