I have a button inside a form on the web with the following code:
var f = document.forms[0];
if (validateForm())
{
if (confirm("Esta seguro de querer guardar el documento??"))
{
f.Action.value = "Save";
f.submit();
}
}
But tells me that Action is null or it is not an object, are there other way the save a document?, or what is the error?
Thanks in advance, Noelia