Home > front end >  Layui child TAB pass values to the parent TAB
Layui child TAB pass values to the parent TAB

Time:12-23

The parent TAB code
$(' # representative). Click (function () {
Var layid='representative';
var title='';
Var url=' ';
Parent. TabAdd (layid, title, url);
return false;
});
Son choose to monitor events TAB of the form
Table. On (' tool (TBL) ', function (obj) {
If (obj. Event=='check') {

}
return false;
});
  • Related