Can anyone please help me:
I want to redirect some users based on their location. Is it possible to do so using JavaScript? If yes, please write the code for me!

sorry, no matter what happens we're not going to write the code for you. You would need to acess certain properties of the browser or maybe the http. Find out where the data is recorded (google it) then figure how to access it :D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.