Menu
Hi Friends,
I wanted to submit the form through javascript. I have the code like
document.forms[0].action = “download.do”;
document.forms[0].method = “post”;
document.forms[0].submit();
Actually this form will submit and response comes in a same window.
But I wanted to get the response in a new window. This should do in javascript only.
we have tried like this
window.open(“download.do”,”name”,”height=400,width=400″);
I think here I am not submitting the form, so I am not able to get the values from form.
Please help with proper coding…
Thanks in advance..