How to set action for a form using javascript or js?

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

Leave a Reply