I have create my modulo completly from scratch! This code, generate the li objects for ( $x = 0; $x < $numero; $x++) { $output .= "\t<li><img src=\"$base_url/sites/default/files/backgrounds/" . $awards[$x]['background'] . "\" width=\"75\" height=\"75\" alt=\"". $awards[$x]['background'] ."\" /></li>\n\r"; } And I'm loading the carousel like jQuery(document).ready(function() { jQuery('#profile-carousel').jcarousel({ vertical: true }); }); $output .= "<select id=\"award-type-filter\" onchange=\"javascript:refresh_carousel()\">\n\r"; $output .= "<option value=\"0\"> -- ALL -- </option>\n\r"; foreach ( $atype as $key=>$value ) { $output .= "\t<option value=\"" . $key . "\">" . $value . "</option>\n\r"; } $output .= "</select>\n\r"; So, I need the function refresh_carousel() regenerate the ul > li objects and recall de carousel function. What can I do with JSON data, I not found any way to format it :( {"1":background1,"2":background2,"3":background3} And how I wotk with this ?