Update the link url in the Moss 2010 to call SP.UI.ModalDialog.showModalDialog
来源:互联网 发布:反对本本主义 知乎 编辑:程序博客网 时间:2024/06/05 10:09
Copy the code to "<script type="text/javascript"> var navBarHelpOverrideKey = "WSSEndUser";" :
<script type="text/javascript">var navBarHelpOverrideKey = "WSSEndUser"; $(document).ready(function () { var span1 = $("span").filter(function () { return $(this).text() == "NewIdea" && $(this).parent()[0].tagName == "A"; })[0]; if(span1) { var a = span1.parentNode; a.href = "http://moss/Lists/TestCustomList/NewForm.aspx?Source=http://moss"; a.onclick = openDialog; } }); function CallBackfromDialog(dialogResult){ alert(dialogResult);}; function openDialog() { var options = { url: "http://moss/Lists/TestCustomList/NewForm.aspx?Source=http://moss", width: 800, height: 600, title: "New Idea", dialogReturnValueCallback: CallBackfromDialog, }; SP.UI.ModalDialog.showModalDialog(options); return false;}</script>
- Update the link url in the Moss 2010 to call SP.UI.ModalDialog.showModalDialog
- 关于SP.UI.ModalDialog.showModalDialog()的使用
- SP.UI.ModalDialog.showModalDialog杂记2
- SharePoint 2010 使用SP.UI.ModalDialog.showModalDialog(options)对话框框架传值以及关闭窗口
- SharePoint 2013 中使用 SP.UI.ModalDialog.showModalDialog时 showModalDialog 未定义
- How to Activate the Drop Down Menu in MOSS 2010 Sites
- How to Activate the Drop Down Menu in MOSS 2010 Sites
- SP.UI.ModalDialog.ShowDialog(options)杂记
- Incorrect parameter count in the call to native function 'ISNULL'
- Add a system call to the linux kernel in Ubuntu
- Incorrect parameters in the call to native function 'ifnull'
- how to update the alsa 1.0.23 in ubuntu lucid
- How to update the version of pgfplots in MiKTeX
- use update cache to synchronize the part in the cache with the library
- Implemented the interface INotifyPropertyChanged can inform UI to update the values.
- HOW TO: Find the Problem Exception Stack When You Receive an UnhandledExceptionFilter Call in the St
- HOW TO: Find the Problem Exception Stack When You Receive an UnhandledExceptionFilter Call in the St
- update files in the Eclipse
- Thinking!Coding!Running!
- Android学习 输入法在虚拟机上的导入
- eas bos editUI 刷新方法 帮助类
- [转]lz77压缩算法详解
- Spring源码解析:Bean的实例化与依赖注入(四)
- Update the link url in the Moss 2010 to call SP.UI.ModalDialog.showModalDialog
- Sql Server参数化查询之where in和like实现详解
- 餐桌上的“爱心菜”
- android中禁止GridView上下滑动的方法
- 优先队列探究
- Java数值计算工具类NumberUtil(防止java计算产生浮点问题)
- 模糊查询(LIKE)and (PATINDEX() . CHARINDEX())
- HDU 1056 叠木块 程序效率低,怎么优化?
- DOM之--带来的好处