- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
9 Posted Topics
The form submits even when there are validation errors. How do I disable the submit button when there are validation errors? Here is the .js file ,submitFu:function(){ _.validateFu(_.labels) if(!_.form.has('.'+_.invalidCl).length) $.ajax({ type: "POST", url:_.mailHandlerURL, data:{ name:_.getValFromLabel($('.name',_.form)), email:_.getValFromLabel($('.email',_.form)), phone:_.getValFromLabel($('.phone',_.form)), //fax:_.getValFromLabel($('.fax',_.form)), //state:_.getValFromLabel($('.state',_.form)), message:_.getValFromLabel($('.message',_.form)), owner_email:_.ownerEmail, stripHTML:_.stripHTML }, success: function(){ _.showFu() } }) }, showFu:function(){ … ![]() | |
I bought a template online and i'm trying to develop a website and I'm stuck on the contact form. I can't seem to get it to submit. When I click submit it just remains static, but i'd like to get it to run the action- that is go to the … | |
Hey guys.. this isn't a coding qs... my php cant read any of my mysql functions... eg. mysql_connect, etc.. everything else in my php works... but even if i echo after mysql_connect it wn't print, but if i echo before it will... its not a coding problem because it works … | |
hey guys.. I'm trying to create a bunch of children where the parent creates child1, and child1 creates child2 and the parent creates child3 using fork()... and I'm supposed to pass a message through using a pipe, but when I pass from child2 to child3 I have to use a … | |
hey guys heres a portion of my code, im trying to validate a users input of price and then convert it to cents before doing some other calculations. Im having problems with my validation still somehow allows letters if they are not the first digit entered. For example, a2 is … | |
I wrote a small program to demonstrate a problem im having with a bigger one so you dont have to look thru so much code. I'm having problems when I convert a double to an integer. [CODE]#include <stdio.h> #include <stdlib.h> int main(void) { double dNum; int iNum; char sNum[15] = … | |
Hey guys, I have an integer validation problem.. i wanna validate integers for fractions where the numerator must be 0 <= num <= 20, and the denominator must be 1<= den <= 20.. and later on i want to multiply them together and simplify, but only the validation has a … | |
hey guys, this is part of my assignment where my lecturer said do anything you want to decipher these english messages... these are the ones im stuck on... 1.helmadinearthotsuciudotyr 2.lkhyvlhyppalgboglvoglgoglpkgpeanjfanpoglgydoglpkgpvhmhboglyalvudanqapalgboglgyfohhgoglpkpeanjfanpoglpkhoglvogvfjvwhpaohhdanboglogl any ideas on what it is? or what cipher is being used to encrypt these messages?? | |
hey.. Ive done a bit of java and im new at C... so forgive the inexperience/noobage here.. I got 2 problems, I want my program to read in 2 fractions and print the product.. and whenever I press enter without entering any value, ie. a null input, I want it … |
The End.