Board Thread:Support Requests - Getting Technical/@comment-24531999-20151103021409/@comment-1757994-20151106030145

Try this version of your code  $(function {    $(".page-User_King_Dragonhoff_CalcTesting #hqrushtinhqrushtouttarget").change(function  { if (this.value === "Headquarters") { $("#jcFormhqrushtin th:contains('Shield Generators')").parent.show; $("#jcFormhqrushtin th:contains('Mark of First Generator'), .jcTable th:contains('Mark of Second Generator')").parent.show; $("#jcFormhqrushtin th:contains('Number of Generators'), .jcTable th:contains('Mark of Each Generator')").parent.hide; } else if (this.value === "Power Core") { $("#jcFormhqrushtin th:contains('Shield Generators')").parent.show; $("#jcFormhqrushtin th:contains('Mark of First Generator'), .jcTable th:contains('Mark of Second Generator')").parent.hide; $("#jcFormhqrushtin th:contains('Number of Generators'), .jcTable th:contains('Mark of Each Generator')").parent.show; } else { $("#jcFormhqrushtin th:contains('Shield Generators')").parent.hide; $("#jcFormhqrushtin th:contains('Mark of First Generator'), .jcTable th:contains('Mark of Second Generator')").parent.hide; $("#jcFormhqrushtin th:contains('Number of Generators'), .jcTable th:contains('Mark of Each Generator')").parent.hide; }   });    $(".page-User_King_Dragonhoff_CalcTesting #hqrushtinhqrushtouttarget").change; });