Onclick javascript function need to perform two actions.
- download a file with window.location.href = url
document.getElementById(\'test\').submit();
I am not able to implement both. If the submit function is added, download is not working. Any thoughts on how to achieve both. Thanks.





Rating:
The post jquery – javascript download a file and perform submit action appeared first on Javascript ASK.
via Javascript ASK http://javascriptask.phpfogapp.com/jquery-javascript-download-a-file-and-perform-submit-action.html
No comments:
Post a Comment