Skip to content

Instantly share code, notes, and snippets.

@alex-boom
Created November 18, 2016 13:23
Show Gist options
  • Select an option

  • Save alex-boom/109911d22f8187de92822b62504a8fa5 to your computer and use it in GitHub Desktop.

Select an option

Save alex-boom/109911d22f8187de92822b62504a8fa5 to your computer and use it in GitHub Desktop.
уникальный класс в цикле
//Назначаем уникальный класс с помощью цикла
$(".webform-datepicker").each(function(e){
$(this).addClass("datepicker-" + e);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment