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

Copyright ©2024 Educative, Inc. All rights reserved