Richard Rodriguez Richard Rodriguez - 7 months ago 22
HTML Question

Submit a html form without having a submit button?

Can I submit a html

instead of
<input type="submit">

Like this:

<form method="post" action="" id="myForm">
<textarea name="reply">text</textarea>

<div>Submit the form by clicking this</div>


Quite simple;


And if you want to do it jQuery style (which I do not recommend for such a simple task);