I have been trying to use jQuery to reset the form
$('#check_in_form')[0].reset();
Does not work. Using trigger()
does not work too
$('#check_in_form').trigger("reset");
When I use these 2 methods, I get this error on my browser console
TypeError: $(...)[0].reset is not a function
Using plain Javascript does not work too.
getElementById("check_in_form").reset();
I finally have to resort to 'clicking' the Reset button
$('#reset').click();
What could be the problem here? jQuery is working on this page because I depend heavily on it for other portions of the page.