How can I trigger a change event on a jQuery UI slider?
I thought it would be
$(\'#slider\').trigger(\'slidechange\');
but that do
Wanted to add a comment on Joey Yore's answer -
I think it's better the other way round
$('#slider').bind({
slidestart : function(event,ui) {...},
slidechange : function(event,ui) {...},
slidestop : function(event,ui) {...},
slidecreate : function(event,ui) {...}
}).slider();
Otherwise some events (namely, 'slidecreate') will be ignored