$(REPLACINGHTML).FIND("[DATA-REPLACED='TRUE']").LENGTH IS 0. BUT IT IS EXIST.
$(REPLACINGHTML).FIND("[DATA-REPLACED='TRUE']").LENGTH IS 0. BUT IT IS EXIST.
by Thulasi Ram.S
JavaScript
$(document).ready(function () {
var product_id = 1;
var replacingHtml = "<tr colspan='15'><table width='100%' height='350' data-replaced='true' data-rep='" + product_id + "'><tr><th class='system_header'>Financier name</th><th class='system_header'>Address</th><th class='system_header'>Contact number</th><th class='system_header'>Fax number</th><th class='system_header'>Email</th><th class='system_header'>Region</th></tr></table></tr>";
alert($(replacingHtml).find("[data-replaced='true']").length);
});