Thursday, May 23, 2024
 Popular · Latest · Hot · Upcoming
170
rated 0 times [  177] [ 7]  / answers: 1 / hits: 70029  / 13 Years ago, tue, august 30, 2011, 12:00:00

Let's say I want to reload www.domain.com/abc?num=4



But I want to reload www.domain.com/abc ONLY (without everything after the question mark)


More From » html

 Answers
10
window.location = window.location.href.split(?)[0];

[#90351] Sunday, August 28, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sabrina

Total Points: 92
Total Questions: 92
Total Answers: 85

Location: Palestine
Member since Thu, Feb 2, 2023
1 Year ago
;