50
rated 0 times
[
55]
[
5]
/ answers: 1 / hits: 82818
/ 12 Years ago, mon, may 21, 2012, 12:00:00
I learned window.location.hash new and tried in my jquery code instead of window.location.href and both of them gave same results.
Code is here :
window.location.href = ($(e.currentTarget).attr(href));
window.location.hash = ($(e.currentTarget).attr(href));
What is the difference between them?
More From » jquery