30 Aralık 2015 Çarşamba

How can I redirect the user from one page to another using jQuery?

You can use the following code to redirect.

// similar behavior as an HTTP redirect
window.location.replace("http://cahitkome.blogspot.com");

// similar behavior as clicking on a link
window.location.href = "http://cahitkome.blogspot.com";

Hiç yorum yok:

Yorum Gönder