I have a table with language translation. I\'m trying to create a script that will hide multiple language columns. The problem is that it only hide one field at a time. I ca
Problem is in code $(".cell" + str) after each block, move your code to hide in each section.
$(".cell" + str)
$(".hide").change(function () { $('[class^=cell]').show(); $(".hide option:selected").each(function () { $(".cell" + $(this).val()).hide(); }); }).trigger("change");
DEMO