It can be done as follows :
document.forms["Form_Name"].action = "file_name.ext";
It can be followed in any programming language. It’s tested and working. Tested by myself
It can be done as follows :
document.forms["Form_Name"].action = "file_name.ext";
It can be followed in any programming language. It’s tested and working. Tested by myself