Is there anyway to send information back and forth between MachForm and your HTML page? The reason I ask is this: So I have a form that once the user completes it they are asked to review it, and finally can click 'submit'. Pretty standard. However once submit is clicked I would like to activate a specific piece of javascript sitting on my HTML page. The script looks like:
' <script type="text/javascript">
jQuery(function($) {
$("#btnReservation").bind("click",function(){
$.Growl.show("You should receive an email confirmation shortly.", {
'title' : "Reservation Submitted!",
'icon' : "checkmark",
'timeout': "10000"
});
});
});
</script>'
Its purpose is to sort of popup and display a message utilizing a jquery plugin. As you can see, it is currently known as "#btnReservation" as that is how I would call it from a normal HTML button, such as:
'<button id="btnReservation" type="button">Test Button</button> '
Any help would be very much appreciated!