Posted on: 7/29/2015 12:18:43 PM | Views : 902

I have some javascript validations on my page. If I use them, the validations fires but after that when I fill all the data for validations,
button onclick does not works. And If I remove the javascript code, onCLick works and the form gets submitted. Dont know what is going wrong here.
Here is my code:-
<script type="text/javascript"> var ErrArr = []; $(document).ready(function () { $('#btnSave').click(function (e) { e.preventDefault(); validateTitle(); validateddl(); validateTextBoxes(); checkBoxChecking(); if (ErrArr.length > 0) { alert(ErrArr.join("\n")); ErrArr = []; return false; } }); function vali ...

Go to the complete details ...