So there is a button, which opens up a widgetbox window with multiple fields: a boldColumn containerLabel and a fieldColumn containerField.
<tr>
   <td class="boldColumn containerLabel">
       <span class="widgetLabel boldLabel ">Address</span>
   <td class="fieldColumn containerField">
       <-- Contains a field box -->
</tr>
<tr>
   <td class="boldColumn containerLabel">
       <span class="widgetLabel boldLabel ">Zip Code</span>
   <td class="fieldColumn containerField">
       <-- Contains a field box -->
</tr>
I was wondering, how can I just hide the first row (i.e. the first containerLabel and containerField)?
This is what I've done so far...
document.getElementById("nxw_bulkImportDocuments_form").addEventListener("click", testFunc);
    function funcTest() {
          var label = document.getElementsByClassName("boldColumn containerLabel");
          var field = document.getElementsByClassName("fieldColumn containerField");
          label[0].style.visibility = "hidden";
          field[0].style.visibility = "hidden";
     }
It's not working for some reason... Any help would be appreciated! THanks!
 
     
     
     
    