标签归档:jquery教程

JS与jQuery如何实现页面跳转



JS与jQuery如何实现页面跳转,实例代码实例。

JS实现页面跳转可以使用:

// 方法1
window.location.replace("http://www.jokesir.com");
// 方法2
window.location.href = ("http://www.jo[......]

Read more

ReferenceError: completeHandler is not defined错误



ReferenceError: completeHandler is not defined错误的解决办法。

$(':button').click(function(){
    var formData = new FormData($('form')[0]);
    $.ajax({[......]

Read more