Can someone PLEASE help me with this jQuery script?

16th of September 2012 0

Can someone PLEASE help me with this jQuery script?

Here’s the page:

Now the problem is jQuery doesn’t want to work, well sort of :S
It validates “name” but not the rest of the form. Can someone take a quick look at the code and tell me if they see a problem :)

Best answer:

Answer by Jim
put your validation js AFTER the form. the form controls probably don’t exist at the time you are calling your js, so you will get an error very likely.

also, if you are submitting the form via PHP, you should use the name= attribute also in your elements, since that is how the data is going to be put into $ _GET[] and $ _POST[]

Add your own answer in the comments!

Filed under § jquery forms — Tagged with , , , , ,

Share it!

Was it good for you to?


Support for the site!

No sponsors at the moment.

Your opinion matters. Add it below.

Tip: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Recent comments


Copyright since 2010. All rights reserved. Design and the Absolute Theme by Tommie Hansen.