jQuery Validate remote method usage to check if username already exists

前端 未结 2 1368
花落未央
花落未央 2020-11-22 02:41

I want to validate if username exists in database using jQuery.validate so here\'s what I have so far:

jQuery:

    $(\"#signupForm\").validate({
             


        
2条回答
  •  傲寒
    傲寒 (楼主)
    2020-11-22 03:10

    I've managed to get this to work by changing the PHP technique I was using, here's my PHP:

    
    

    Thanks everyone here for your help :)

提交回复
热议问题