after_remote_ajax Triggered after a remote ajax call has been done

after_remote_ajax

This event is triggered after a remote ajax call has been done.

data returned

The data returned in the data variable is:

example

$(function(){
	// bind a callback to the after_remote_ajax event
	$("#demoForm").bind("after_remote_ajax", function(event, data){
		alert(data.currenStep);
	});
});
		
before_remote_ajax Triggered before a remote ajax call has been done

before_remote_ajax

This event is triggered before a remote ajax call is done.

data returned

The data returned in the data variable is:

example

$(function(){
	// bind a callback to the before_remote_ajax event
	$("#demoForm").bind("before_remote_ajax", function(event, data){
		alert(data.currenStep);
	});
});
		
before_step_shown Triggered just before a step is shown

before_step_shown

This event is triggered just before a step is shown. It is triggered for both backwards and forwards navigation.

data returned

The data returned in the data variable is as follows (see the state method for further explanation of the properties):

example

$(function(){
	// bind a callback to the before_step_shown event
	$("#demoForm").bind("before_step_shown", function(event, data){
		alert(data.isBackNavigation);
	});
});
		
step_shown Triggered each time a step is shown

step_shown

This event is triggered when a step is shown. It's triggered for both back and forward navigation.

data returned

The data returned in the data variable is (See state method for further explanation on the different ):

example

$(function(){
	// bind a callback to the step_shown event
	$("#demoForm").bind("step_shown", function(event, data){
		alert(data.isBackNavigation);
	});
});