• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:

Navigate on click

Hello,

What is the jQuery script for navigating to another url when a click event is triggered.

Thanks.
0
TabEst
Asked:
TabEst
1 Solution
 
chaitu chaituCommented:
window.location.href="a.asp"
0
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
there is no jquery method to do this, you need to use straight javascript:

window.location = 'somePage.htm';
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now