Ext.Net button not working correctly after chrome update -
when working ext.net, after disabling button disappears dom. seems css or javascript issue because button there , after playing css properties height , width button show again.
if iterate through collection of buttons , change css display property block, fix problem.
findbuttonbytextcontent("text find"); function findbuttonbytextcontent(text) { var buttons = document.queryselectorall('button'); (var i=0, l=buttons.length; i<l; i++) { if (buttons[i].firstchild.nodevalue == text){ buttons[i].style.display = "block"; } } }
Comments
Post a Comment