artDialog
来源:互联网 发布:cda数据分析师考试时间 编辑:程序博客网 时间:2024/05/16 11:39
function editNote(par){ art.dialog({ title: '备注信息',// drag: false, resize: false,// content:document.getElementById('noteDiv'), content:document.getElementById('noteDivtest'), ok: function () { alert(par); saveNote(this); this.close(); },// cancel: true, cancel:function () { art.dialog.tips('此次操作没有记录备注信息'); }, // lock: true, }); } function saveNote(that){ var note = $("#noteArea").val(); alert(note); $.ajax({ type: "POST", url: "/saveNote", data: {"note": note}, dataType: "json"// ,// success: function (data) {// that.content('备注信息保存成功'+data);// },// error: function (data) {// that.content('备注信息保存失败'+data);// } }); document.f1.submit(); }<script type="text/javascript"> function addNoteToUrl(url,note){ var newurl=url; if(note!=null&¬e!=""&¬e.length!=0){ if(url.indexOf("?") > 0){ newurl = url+'¬e='+note; }else{ newurl = url+'?note='+note; } } return '<c:url value="'+newurl+'"/>'; } function deleteRadreplyFun(url){ var note = null; art.dialog({ title: '备注信息', drag: false, resize: false, content:document.getElementById('noteDiv'), ok: function () { note=document.getElementById('noteAreaForALl').value; var newUrl = addNoteToUrl(url,note); location.href=encodeURI(newUrl); this.close(); }, cancel:function () { art.dialog.tips('此次操作没有记录备注信息',3); location.href=encodeURI(url); }, lock: true, }); }</script>
0 0
- artDialog
- artDialog
- artDialog
- artDialog
- ArtDialog
- artdialog
- artDialog
- artdialog
- artDialog
- artDialog
- artDialog
- artDialog弹窗
- artDialog弹窗
- artDialog入门
- artDialog弹框
- 大话artDialog
- artDialog总结
- artDialog.js
- 设计模式之工厂模式
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.tran
- mysql同一个表按当前时间分段分开排序
- 雷诺原车方控按键板
- 使QScrollArea的背景透明,并且不影响子控件
- artDialog
- JDK环境变量的配置
- 从菜鸟到架构师(二十一)
- 理解AOP
- NOI(2.2基本算法之递归和自调用函数之1755:菲波那契数列)
- 趣味逻辑小题,您的智商已下线。
- 类的组成理解
- Ubuntu安装mysql-server、client、workbench
- java调用dll做加解密试例