Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $( "#acv-merk" ).selectmenu({
- change: function(){
- $('#acv-model').empty();
- $('#acv-formaat').empty();
- if ( $(this).val() == 'merk' ) {
- $('#acv-model').append('<option disabled>Model</option>');
- $('#acv-formaat').append('<option disabled>Formaat</option>');
- }
- else
- {
- foreach($model in $structuur[$(this).val()])
- {
- ...
- }
- }
- $("select").selectmenu("refresh");
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement