0

How i set a location in HTML??

8th Apr 2018, 3:09 PM
Kunjesh Patel
Kunjesh Patel - avatar
3 Answers
+ 4
window.location.href is used to set location in HTML. window.location.href = "https://www.google.com"; // code sets location to www.google.com
8th Apr 2018, 4:30 PM
Vikash Pal
Vikash Pal - avatar
+ 3
8th Apr 2018, 5:37 PM
Vikash Pal
Vikash Pal - avatar
+ 1
can you post your current code?
8th Apr 2018, 3:21 PM
Raffy
Raffy - avatar