JQuery implementation of communication between FRAME

This example tells the jQuery method to implement the interoperability between Frame. Share to everyone for reference, specifically:

// Method for sharing Function Veriaddddata (var Name, VArDesc) {var name = VarName; var desc = vardesc; if (name! == “&& desc! ==”) {doadd (name, desc);}}}}} // How to share if ($ .BROWSER.MSIE && + $. Browser.Version
  <8 ){//低于ie8的浏览器处理
    document.frames["url"].window["veriAddData"] = window["veriAddData"];
}else{ // url为子框架的id
    $("#url")[0].contentWindow["veriAddData"] = veriAddData;

// How to call the parent framework method Parent.veriadddata ($ “# Varname “) .val (), $ (” # VARDESC “). VAL ());

More about jQuery related content, readers can view this site : “JQuery operation iframe skill summary”, “jQuery extension skill summary”, “jQuery common plugin and usage summary”, “jQuery drag effect and skill summary”, “jQuery form”, “jQuery in Ajax Usage summary, “jQuery common classic special effects summary” and “jQuery selector usage summary”
 I hope this article will help you jQuery program design.                      
© Copyright Notice
Just support it if you like
comment Grab the couch

Please log in to comment