lfalanga
1/12/2016 - 1:51 PM

Remove all select field options

Remove all select field options

$('#DMINFO_EquipActuelBeneficiaire')
  .find('option')
  .remove()
  .end()
  .append('<option value="whatever">text</option>')
  .val('whatever')
;