[jquery]Form validation: async true of false? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1) +--- Forum: Lounge (https://forum.codeigniter.com/forumdisplay.php?fid=3) +--- Thread: [jquery]Form validation: async true of false? (/showthread.php?tid=71710) |
[jquery]Form validation: async true of false? - Serializable - 09-15-2018 For some reason form validation does't work when I set up async true, but on the other side if I set up to FALSE then I get in browser console: Quote:jquery.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. Code: function validateForm(form) { Why doesn't it work whith asynchronous request? |