Form Submit

case1:

$("#form1").submit(function(){return false;});

case2:

$("#form1").submit(function(){doSomething(); return false;});