<select id="select_preferences" multiple="multiple">
<option value="Anerobic"> Do Anerobic Routines</option>
<option value="Aerobic">Do Aerobic Routines</option>
<option value="Diet">Diet Healthy</option>
</select>
<script type="text/javascript">
$(document).ready(function() {
$('#select_preferences').multiselect({
buttonText: function(options, select) {
return 'Look for users that:';
},
buttonTitle: function(options, select) {
var labels = [];
options.each(function () {
labels.push($(this).text());
});
return labels.join(' - ');
}
});
});
</script>
I now want to show the user some html code/elements when he selects at least one option from the drop down. How should I do that?

New Topic/Question
Reply


MultiQuote



|