document.URL has been deprecated
My old code “document.URL = location.href + ‘&sortby=2’;” stops working.
It’s said that document.URL has been deprecated.
I change it to “document.location.href = “bestsellers.jsp?sortby=2″;”. It works just fine.
document.URL has been deprecated
My old code “document.URL = location.href + ‘&sortby=2’;” stops working.
It’s said that document.URL has been deprecated.
I change it to “document.location.href = “bestsellers.jsp?sortby=2″;”. It works just fine.