var modifiedCCDHTML = CLINICAL_SUMMARY_O1.xmlToHTML() $(modifiedCCDHTML).find("span").each(function () { var templateId = $(this).attr("ID"); if ($.inArray(templateId, identifiers.Instructions) > -1) { var $sectionDiv = $(this).parent("div"); if (flagForTitle === "SCRIPT.XR_CUST_DISCH_INFO") { $sectionDiv.find("p").each(function () { if ($(this).find("span").attr("class") === "Bold") { } else { $(this).hide(); } }); } var modInstHTML = $sectionDiv.html(); } });
.remove()
.detach()
.empty()
.unwrap()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)