Click here to Skip to main content
15,900,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI All,

I am using a bit of jquery in my page, just to validate a textbox field,

but that is making my form's Submit button disabled, mean validations are being called on submit button but its not doing postback or i mean posting ahead....

I am novice to JQUERY, so can anyone guide me how to solve that,,

I have tried and found that If i dont use this reference of JQUERY class/ api or whatever it is called, form started working fine....


<script type="text/javascript" src="script/jquery.validate.js"></script>

Following is the link from where i got the code to use.


http://www.c-sharpcorner.com/uploadfile/prathore/validation-using-jquery-with-asp-net/[^]
Posted

1 solution

Finally Got a solution with the help of my fellow...

Sharing it for future help of other's here...

By simply adding the following my problem got solved.

C#
submitHandler: function(form) {
        form.submit();
}



Following link explains it in detail.

http://stackoverflow.com/questions/11335992/html-page-with-jquery-refuses-to-submit[^]


:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900