function subscribeForm()
{
var email = "subscribe.php?email=" + this.forms[0].email.value;
window.open(email,'subscribe','width=200,height=200');
}
which is called when a user submits a form, like this:
<form name="subscribe" action="" target="" onsubmit="subscribeForm();">
and i'm getting an error saying that forms.0 is null or not an object. what's the deal?

New Topic/Question
Reply


MultiQuote



|