layer form pass value

Layer form pass value

//Enter any legal js statement in it
layer.open({
  type: 1 //Page layer type
  , area: ['500px', '300px']
  , title: 'Hello, layer. '
  ,shade: 0.6 //Mask transparency
, btn: ['Save', 'Cancel'] 
  ,maxmin: true //Allow full-screen minimization
  , anim: 1 //Animation form of 0-6, -1 is not enabled
  , content: '<div style="padding:50px;">This is a very common page layer with custom html</div>'
,yes: function(index, layero){ 
                  layer.msg(" Radio");

             // saveUser() 
               // $('#defaultForm').data('bootstrapValidator').resetForm(true); 
                  //layer.close(index); 

              }
,cancel:  function(){ 
alert("cc");
                 // $('#defaultForm').data('bootstrapValidator').resetForm(true); 
              } ,btn2: function(index, layero){ 
                 alert("bb");
                  }
});   
 
http://blog.csdn.net/wp1603710463/article/details/50962782

iframe 传值
https://www.cnblogs.com/wxj111/p/3487726.html
http://www.jb51.net/article/44653.htm

lhgdialog
http://xph.iteye.com/blog/1605736

iframe 内外操作
http://m.jb51.net/article/116273.htm

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326220639&siteId=291194637