|
|
Joined: Dec 1999
Posts: 30,867
Master Elite Member
|
function Form_Submit(FormName, Action){
/*
Purpose
Submits a form in a simple, generic way.
Parameters
FormName (string) = The name of the form we want to submit.
Action (optional string) = If specified this value is assigned to the .action method
of the form before it is submitted.
Version History
1.00 2009.6.24 Tested by Russ Tanner on IE6/FF3.
*/
var frm = document.forms[FormName]
// Set the form's action and submit it.
if (typeof Action != "undefined") frm.action = Action;
frm.submit();
}
|
|
|
|
|