I have this code snippet where I am passing data to another jsp file.
Javascript
$(document).ready(function() { $(\"#click\").click(
$("#click").click(function(e) { // e.preventDefault(); ... return false; });
and of course install firebug or use chrome default developer tools (f12). open console and run the code.