Could be something like that ?
function mycarousel_itemLoadCallback(carousel, state, classification) { var classification = $('#award-type-filter').val(); jQuery.get( '/classification/' + classification, function(xml) { mycarousel_itemAddCallback(carousel, carousel.first, carousel.last, xml); }, 'xml' ); };
function carousel() { jQuery(document).ready(function() { $('#profile-carousel').jcarousel({ vertical: true, itemLoadCallback: mycarousel_itemLoadCallback }); }); }
function trigger() { carousel(); }
In the select I declare onchange=javascript:trigger();
But, the carousel isn't regenerating :(
And the URL /classification/$val() it is generating and changing, instead the XML result are OK, but the carousel not render again :(