Hi All,

if one changes a button type from type="button" to type="submit", it is my understanding that there would also be changes in the form action.

How would I modify the current line:

<form id="myForm" action="myAction.php" method="get">

to something like this using javaScript:

<form id="myForm" action="myAction.php" onsubmit="myFunction">

Do I need to do something like this: