layer.open({
title:
'在线调试'
,content:
'可以填写任意的layer代码'
,
btn:[
'按钮1'
,
'按钮2'
,
'按钮3'
],
yes:
function
(index,layero){
alert(
"按钮1"
);
},
btn2:
function
(index,layero){
alert(
"按钮2"
);
}
});
layer.open({
title:
'在线调试'
,content:
'可以填写任意的layer代码'
,
btn:[
'按钮1'
,
'按钮2'
,
'按钮3'
],
yes:
function
(index,layero){
alert(
"按钮1"
);
},
btn2:
function
(index,layero){
alert(
"按钮2"
);
}
});