merge_cells.js
资源名称:bangong.rar [点击查看]
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:1k
源码类别:
OA系统
开发平台:
Java
- function init() {
- tinyMCEPopup.resizeToInnerSize();
- var formObj = document.forms[0];
- formObj.numcols.value = tinyMCE.getWindowArg('numcols', 1);
- formObj.numrows.value = tinyMCE.getWindowArg('numrows', 1);
- }
- function mergeCells() {
- var args = new Array();
- var formObj = document.forms[0];
- if (!AutoValidator.validate(formObj)) {
- alert(tinyMCE.getLang('lang_invalid_data'));
- return false;
- }
- args["numcols"] = formObj.numcols.value;
- args["numrows"] = formObj.numrows.value;
- tinyMCEPopup.execCommand("mceTableMergeCells", false, args);
- tinyMCEPopup.close();
- }