I have the next code:
document.myForm.mySubmit.click();
Where myForm – form name, mySubmit – submit name. I want to call submit of my form outside me form. My problem – my form doesn’t have names(terrible?). How can I do this with help of id or classes?
Or may be you know another way?
Thank you.
If you give the form an “id” you can: