I have this piece of code, which shows a text input, and dropdown (#action_) when a checkbox ($switch_) is checked...
Is there a way to reset the dropdown when the checkbox ($switch) is unchecked???
$('input[id^="switch_"]').change(function () {
$('#action_' + this.id.replace('switch_', '')).toggle("slide", this.checked);
}).change();
Any help would be appreciated... Si
Aucun commentaire:
Enregistrer un commentaire