window.parent.$ (".clildFrame .layui-tab-item.layui-show"). Find ("iframe") [0] .setAttribute ("src", href);
how is this code written in native js? Hope to be compatible with IE8. PS:document.getElementsByClassName does not support IE8-sharp-sharp-sharp problem description