Home › Forums › Classic DFFS › HTML Table not showing when using Side-by-side › Reply To: HTML Table not showing when using Side-by-side
February 17, 2022 at 23:45
#35572
I found it was because the style isn’t being removed for the HTML field, as in the attachment.
I got around it by removing the style via jQuery in the Custom JS, but I’m sure there’s a better way
function removeStyle(){
var sbsTable = document.getElementById(“sbs_Field_dffsHTML_charity_test2_1”);
var sbsTable1 = document.getElementById(“sbs_Field_dffsHTML_charity_test_1”);
var sbsTable2 = document.getElementById(“sbs_Field_dffsHTML_charity_test3_1”);
jQuery(sbsTable1).removeAttr(“style”);
jQuery(sbsTable2).removeAttr(“style”);
jQuery(sbsTable).removeAttr(“style”);
}