Ttrigger extra paramter
- by fire
According to the jQuery manual you can send extra parameters (as an array) when calling a trigger. I am using this at the moment:
$('#page0').trigger('click', [true]);
How would I pick up whether the paramter has come through or not when using this?
$('ul.pages li a').click(function() {
// Do stuff if true has been passed as an extra parameter
});