function addOrUpdate(id,type) {
if(type == 'update'){
var title = "修改";
}
if(type == 'add'){
var title = "新增";
}

var typeid = "${typeid}"
var url = "<s:url value='/aaaa.shtml'></s:url>" + "?, {
icon: 5,
skin: 'layer-ext-moon',
anim: 6
});
return false;
}
}

});
}



iframe层为form表单

 <form action="" method="post" >
        <div class="form-group row">
            <div class="left col-xs-3 text-right">
            <label for="">名称:</label>
            </div>
            <div class="right col-xs-8 text-left">
            <input type="text" class="form-control" >
            </div>
        </div>
    </form>


function checkInfo(){
//检测参数,返回flag
}

相关文章:

  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-07
  • 2022-12-23
  • 2021-05-22
  • 2021-05-18
  • 2022-12-23
相关资源
相似解决方案