> How do i direct my servlet to a new window using JQuery .... i am not able > to understand as i am new to JQuery, can you please suggest me how do i do > this i tried doing > window.opener.location.href=" > $.post("../reports/BillIDPropIDExcelExport",{csvstring: > $("#vname1").val(),count:$("#vname2").val(),propType:$("#vname3").val(),instValue:$("#vname4").val()},function(data){ > alert(data);document.body.style.cursor="default"; });
Don't use an ajax post for this (it won't work). It looks like you already have a form for collecting the data so set the form's target attribute to "_blank" and you'll be all set. Mike