To be sure that nothing happens before the AJAX request is achieved, you can simply add the async: false property to your $.ajax({...}) .
確定! 回上一頁