Advertisement
Guest User

Untitled

a guest
Oct 13th, 2015
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $( "#acv-merk" ).selectmenu({
  2.         change: function(){
  3.  
  4.             $('#acv-model').empty();
  5.             $('#acv-formaat').empty();
  6.  
  7.             if ( $(this).val() == 'merk' ) {
  8.                 $('#acv-model').append('<option disabled>Model</option>');
  9.                 $('#acv-formaat').append('<option disabled>Formaat</option>');
  10.             }
  11.             else
  12.         {
  13.        
  14.         foreach($model in $structuur[$(this).val()])
  15.         {
  16.             ...
  17.         }
  18.             }
  19.  
  20.             $("select").selectmenu("refresh");
  21.  
  22.         }
  23.     });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement