jimfog Posted July 31, 2015 Share Posted July 31, 2015 I want to ajaxify a login form...I suppose serve-side validation must be in the file where the ajax request will be made. Am I correct? Currently I have this code in the same file where the markup is located and it runs upon clicking the submit button. Link to comment Share on other sites More sharing options...
justsomeguy Posted July 31, 2015 Share Posted July 31, 2015 If you tell it to send to a different file, then is it going to run your existing validation code when you send the ajax request? Link to comment Share on other sites More sharing options...
jimfog Posted July 31, 2015 Author Share Posted July 31, 2015 No....I will keep this code though in the case where ajax does not work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now