Submit Sets Form Action

[Total: 0    Average: 0/5]

When the form is submitted the action field is set.

Head Code:

var _ACTION="";
function submitNow()

Body Code:

<form action="" method=POST name=form1>
Input-1:<input type=text name=num1 value="something"><BR>
Input-2:<input type=text name=num2 value="else"><BR>
Input-3:<select name=sel1><option>1</option><option>2</option></select><BR>
<input type=button value="Submit" onclick="submitNow()">

Times Viewed: 10

Leave a Reply

Your email address will not be published. Required fields are marked *