Search the blog

If you want to have a form with no submit button you can get it to submit when anything within the form changes using this code:

$('form.auto-submit').on('change', function() {
	
    $(this).submit();
	
});

Simple add class="auto-submit" to your form.

Tim Bennett is a web designer and developer. He has a First Class Honours degree in Computing from Leeds Metropolitan University and currently runs his own one-man web design company, Texelate.