Hi all,
Just fiddling with my safecracker form, and I am trying to add a bit of jQuery to display a hidden div once the submit button is pressed, letting the user know that the form is processing.
My div works fine, and is hidden via css, I then have this jQuery
$(document).ready(function() {
$('#form1').submit(function() {
$('#loading').show();
});
});
Where form1 should be the form ID. However this is not working for me and I was wondering whether or not the ID parameter is actually the form ID, as the user guide states its the CSS id.
Any thoughts?