Skip to content

Instantly share code, notes, and snippets.

@chelm
Created December 17, 2010 21:49
Show Gist options
  • Save chelm/745762 to your computer and use it in GitHub Desktop.
Save chelm/745762 to your computer and use it in GitHub Desktop.
replaced:
selects.append('<option value="">-- Select One --</option>')
with:
jq.each(selects, function(i, select){
if (!jq(select).hasClass('exp_select')){
jq(select).append('<option value="">-- Select One --</option>')
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment