|
|
 |
RE: FN-FORUM beginners JS
date posted 14th March 2000 13:27
more succinct than my effort :)
From: Martin Smith
[EMAIL REMOVED]
Tel: +44 (0)1364 654 100
Fax: +44 (0)1364 654 200
WebSite: http://www.greymatter.co.uk
Post: Grey Matter Ltd., Prigg Meadow, Ashburton, Devon, UK. TQ13 7DF
-----Original Message-----
From: Dan Winchester [EMAIL REMOVED]
Sent: 14 March 2000 13:27
To: [EMAIL REMOVED]
Subject: Re: FN-FORUM beginners JS
Hi Shaun,
onClick="check(this.form)"
should say
onClick="isBlank(this.form)"
in your submit button code.
This is because the name of you function is 'isBlank', not 'check':
function isBlank(theForm) ...
I tried it with this change and it works fine!
TIP - if you have a copy of Netscape Navigator or Communicator, they
typically
give you better error messages. Type Javascript: into the location bar on
Communicator to get the console up.
Cheers
Dan
Shaun Farrell wrote:
> Hiya
>
> Can anyone tell me why my first form validate for javascript is not
working
>
>
>
>
> Feedback Form
>
>
>
>
>
>
> What is your name:
>
> What is your gender:
>
> onClick="check(this.form)">
>
>
>
>
>
> thanks
>
> not the best start for fledgling js when I can not even get my first one
to
> work. Basically in IE5 I am not getting my alert error :-(
>
> Shaun
>
> ============================================================
>
> * Free listing for freelancers
> * Free to advertise jobs
> * Free jobs distribution service
> * Free database of 1000 freelancers
>
> Freelancers and Freelance Jobs
> http://www.freelancers.net
>
> To post to the Forum:
> [EMAIL REMOVED]
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> For further information please visit:
> http://www.freelancers.net/forum.html
============================================================
* Free listing for freelancers
* Free to advertise jobs
* Free jobs distribution service
* Free database of 1000 freelancers
Freelancers and Freelance Jobs
http://www.freelancers.net
To post to the Forum:
[EMAIL REMOVED]
To unsubscribe please email:
[EMAIL REMOVED]
For further information please visit:
http://www.freelancers.net/forum.html
|
 |
|