Using window.location.replace() or using window.location.href() you can redirect to another page.

Ex.

window.location.replace("http://tutorialsmint.com");
window.location.href = "http://tutorialsmint.com";
Question By - R Rajendra
In this post, you will learn how to check value is not equal to zero using Validate js

Considering you have form and its id is form_id and have field amount,
Below Jquery code works :
var validator = $("#form_id").validate({
rules: {
amount: {
required:true,
number: true,
notEqual: '0'
}
},
Question By - R Rajendra
Tutorialsmint.com is a programming discussion portal. Here you can learn the programming languages or you can ask the questions related to the programming languages. If you like Tutorialsmint and would like to contribute, you can also write an article using Write an Article. See your article appearing on the Tutorialsmint main page and help other programmers to enhance their knowledge.