I have simple question but I can't fined good solution on the web.
I have this HTML code:
<form name="Register" action="Register.aspx" method="post" runat="server" style="margin-top: 15px;" onsubmit="return validateProfile(this);" >
And this JavaScript code
function validateProfile(F) {
var G = F.name;
}
I want somehow to get the form name, but this code just does not working.
wish for help, thanks!