$.fn.yiilistview.update

hi, can i capture an event after $.fn.yiiListView.update is done?

how can i do things like:

$.fn.yiiListView.update {

data: …,

success: function(xxx) {

 ......

}

}

i tried :


$('#filter-form').submit(function(){

	    $.fn.yiiListView.update('question-list', { 

	        data: $(this).serialize(),

			success:function() {

				alert('asdf');

			}

	    });

	    return false;

	});

I can get the ‘alert’, but the ‘question-list’ can be updated any more.

i found a solution:

use ‘complete’ rather than ‘success’ :)