Take the 2-minute tour ×  I am using jquery validate to check
the existing phone number in my database. I am using jquery
validate remote attribute for this.  remote: {     url: "ajax-
checkmobile.php",     type: "post",     data: {       cust_id:
function() {         return $("#cust_id").val();  However this
is preventing the submit value being passed on form submission
via POST.  <input name="Submitcustdata" type="submit"
class="chromeButton" id="Submitcustdata" value="Edit Customer"
/></td>  After removing the above code submit value gets passed
correctly. Any idea what could be preventing value from being
passed  share|improve this question jquery is jquery not php. do
not put random keywords. –  Marcin Orlowski Aug 31 '12 at 16:34
@WebnetMobile.com he wrote PHP because he is using jquery to
make an ajax request to PHP, which is relevant for some. – 
Kristian Aug 31 '12 at 16:35 the problem describes issue on JS
side only. the fact url points to php script is irrelevant. – 
Marcin Orlowski Aug 31 '12 at 16