Hi, I created ajax (prototype) and javascript validation that checks a form, I use onclick event in a button that calls a function that calls another ajax response function, after I do validation and everything is ok, I try to submit the form by using the submit() function:
document.reg_form.submit();
this doesn't do anything.
I tried to do the same with reset to try to see where the problem is and it worked:
document.reg_form.reset();
does anybody knows what's the issue?
thanks!