jQuery
文章平均质量分 93
Tristan_Dong
这个作者很懒,什么都没留下…
展开
-
JSLink to render links list into 2 compartments in webpart section
Using JSLink to render the UI of the listview webpart display links list webpart into 2 compartments in links webpart section原创 2013-10-11 17:45:31 · 2106 阅读 · 0 评论 -
Tab with web parts from web part zone in Sharepoint 2013
Implement to tab with web parts in Sharepoint 2013Implement a feature about tabbed content with multiple web parts, each associated with a header in a list. I will achieve it in SharePoint 2013.to原创 2014-09-23 15:58:16 · 1812 阅读 · 0 评论 -
how to set default content type in document set in Sharepoint
how to set default content type in document set in Sharepoint, when upload document in the document set, it is not working, it still had the content type named "Document", even it is the default content type原创 2014-09-12 17:34:58 · 1708 阅读 · 0 评论 -
JSLink to custom list to render people column in detail with picture
I create a custom list, and create a poeple column to store poeple detail info with picture in this list, the custom list with following people:Name1, Name2, NAme3, Name4.here is the list info:原创 2013-10-12 10:57:53 · 2873 阅读 · 1 评论 -
Sharepoint 2013 页面置顶(Topbar)小插件
Sharepoint 2013 页面置顶(Topbar)小插件Topbar功能,当滚动条滑过一个页面高度时,出现Topbar图标,回滚到页面顶部。当滚动到底边栏时,TopBar要跟着底边栏一起移动,这样就有点难度了原创 2014-03-10 11:23:45 · 2005 阅读 · 0 评论 -
jQuery Call web services(SOAP) in SharePoint 2013
Step by Step Calling web services(SOAP) in SharePoint 2013As we know sharepoint already provide some sevice for user, we needn't write CAML to query list every time, sharepoint web service have enou原创 2014-03-28 13:32:22 · 2337 阅读 · 0 评论 -
一步步开发jQuery插件
jQuery插件的开发包括两种:一种是类级别的插件开发,即给jQuery添加新的全局函数,相当于给jQuery类本身添加方法。jQuery的全局函数就是属于jQuery命名空间的函数。另一种是对象级别的插件开发,即给jQuery对象添加方法。一. 基本概念用JQuery写插件时,最核心的方法有如下两个:$.extend(object) 可以理解为JQuery 添加一个静态方法。转载 2014-02-13 17:06:41 · 787 阅读 · 0 评论 -
SharePoint 2013 Pop-Up Dialogs
自定义弹出框,包括弹出框的内容和样式。原创 2014-02-11 14:39:04 · 1866 阅读 · 0 评论 -
click() bind() live() delegate()区别
click(),bind(),live()都是执行事件时使用的方法,他们之前是有一些区别的,我们在使用这些方法时应该根据需要进行选择。 1.click()方法是我们经常使用的单击事件方法:Js代码 "text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"> $(functio转载 2014-01-20 14:13:08 · 1073 阅读 · 0 评论 -
SharePoint 2013 自定义翻页显示列表项
项目需求:自定义开发一个能分页显示列表项的小部件,允许左右翻页,能根据用户权限来显示管理链接等。效果如下:技术要求:使用sharepoint rest API 来获取列表项,这样性能高,能够快速响应用户操作。(关于REST API详细介绍见我的博客:SharePoint REST Service steps by steps) 步骤:1. 创建一个自定义list,无需创建其原创 2014-01-02 19:32:43 · 2478 阅读 · 0 评论 -
Introduce AJAX about how to dynamic loading HTML/JSON/XML dataType
1. how to loading HTML/JSON/XML dataType via AJAXAs we know, we can dynamic loading the file via ajax, it is very convient for customer.And, there are three kinds of dataType: JSON, XML, HTML. but the原创 2013-11-08 17:56:02 · 1999 阅读 · 0 评论 -
SharePoint 2013 REST Service how to Retrive The List Items
In SharePoint 2013, we can query the list by it owner service, then dynamic load the info of the list items to render in client.Here is the require, dynamic load the info about the list named link a原创 2013-11-14 18:14:20 · 2190 阅读 · 0 评论 -
SharePoint 2013 的页面中window/document.onload/ready 事件不能触发的解决方案
本文讲述SharePoint 2013 的页面中window/document.onload/ready 事件不能触发的解决方案:在SharePoint 2013 的页面中使用Javascript 事件window/document.onload/ready时,你会发现处理onload/ready事件的代码根本就不能执行。解决方案是使用 _spBodyOnLoadFunctionNames转载 2013-10-23 17:41:14 · 1208 阅读 · 0 评论 -
SharePoint use PreSaveAction before save button clicked
function PreSaveAction() { if(condiction) return true else return false} If the function PreSaveAction return false, then the item form will not be转载 2013-10-18 18:06:47 · 1645 阅读 · 0 评论 -
JavaScript monitor hidden input value change
In some scenarios of web development, we need to monitor hiddeninput value change then do something.In my first mind, I think we can use onchange event of theelement, but when I tried it, it failed转载 2013-10-18 18:03:41 · 1452 阅读 · 0 评论 -
Client Object Model
Client Object Model我们知道Microsoft SharePoint 2010 提供了三个新的客户端 API,这些 API 允许您通过在浏览器中执行的脚本、在 .NET 托管应用程序中执行的代码(Microsoft .NET Framework 3.5 或更高版本)或在 Microsoft Silverlight 2.0 应用程序中执行的代码与 SharePoint 网站进行原创 2013-02-20 10:59:56 · 1226 阅读 · 0 评论 -
细说 jQuery - 事件传播
Javascript 是如何决定由哪个元素来处理事件的,以及jQuery 又是如何优化处理这个问题的,这些都涉及到了事件传播。事件传播策略当页面内的发生一个事件时,每个层次的 DOM 元素都有机会来处理这个事件,为了弄懂整个过程,举例说明:div class="wrapper"> span class="bar"> a href="#">segmentfault转载 2015-08-27 14:41:05 · 735 阅读 · 0 评论