How to submit form with javascript by clicking a link?

Add an onclick event to the link and an id to the form.

Add an onclick event to the link and an id to the form: submit.

You could give the form and the link some ids and then subscribe for the onclick event of the link and submit the form: submit and then: window. Onload = function() { document. GetElementById('mylink').

Onclick = function() { document. GetElementById('myform').submit(); return false; }; }; I would recommend you using a submit button for submitting forms as it respects the markup semantics and it will work even for users with javascript disabled.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions