How to redirect to another page using jQuery

jQuery is a light-weight, feature-rich JavaScript library.

Using jQuery

jQuery can be downloaded from its official page, or the content delivery network (CDN) of Google or Microsoft can be used to include the library.

jQuery function syntax

svg viewer

Code

Using the location attribute

Using the window object

New on Educative
Learn to Code
Learn any Language as a beginner
Develop a human edge in an AI powered world and learn to code with AI from our beginner friendly catalog
🏆 Leaderboard
Daily Coding Challenge
Solve a new coding challenge every day and climb the leaderboard

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved