摘要: 1.在函数调用中,关键字的参数必须跟随在位置参数的后面。parrot(voltage=1000000, action='VOOOOOM') //rightparrot(voltage=5.0, 'dead') // wrong2. 使用 from package import... 阅读全文
posted @ 2015-08-25 15:07 Jacky Ge 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 首先,参考链接:https://msdn.microsoft.com/en-us/library/office/fp179893.aspx?f=255&MSPPError=-2147217396 1. SharePoint Cross-Domain Library: 主要用于在SharePoint页 阅读全文
posted @ 2015-08-24 16:45 Jacky Ge 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 1. 在使用TODAY()时需要注意格式,比如,如果系统区域是中国,那么格式为2015/7/28,如果在单元格中设置了其它格式(比如美国格式 3/24/2015),则可能无法比较; 2. $表示cell reference,比如$A4表示A列从第4行开始的数据,A$4表明第四行从A列开始的数据,$A 阅读全文
posted @ 2015-07-28 13:57 Jacky Ge 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 1. 在Table中添加一条新的item,并绑定数据时,按钮的绑定事件应该这样写: HTML: <table id="tblCountryList" border="1" class="tableStyle"> <thead> <tr> <th>Country</th> <th>State</th> 阅读全文
posted @ 2015-06-23 15:31 Jacky Ge 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1. 在SharePoint 2013中应用Bootstrap时,需要添加以下css: <style> .container{ margin-left:0px; //为了使container类的div居左显示,与SharePoint风格一致,默认居中 margin-right:0px; //为了使c 阅读全文
posted @ 2015-05-15 15:49 Jacky Ge 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 1. Animated Progress Bar 以及 Striped Progress Bar 在IE 9及以下浏览器不能正常工作; 2. 虽然使用btn类后,很多标签都可以显示button的效果(比如:span, div, a, input, button),但为了兼容性考虑,建议只是用butt 阅读全文
posted @ 2015-02-03 16:44 Jacky Ge 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 1. 向 executeQueryAsync 中传递参数可以使用以下两种方式,也可以参考这篇文章: var mySuccessCallBack = Function.createCallback(onQuerySucceeded, oListItem); clientContext.executeQ 阅读全文
posted @ 2015-01-29 14:27 Jacky Ge 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 1. 逗号表示并列关系,空格表示层级关系: //table 和 td应用此样式,tr并不应用此样式table, tr td { border: 1px solid grey; border-collapse: collapse; padding: 5px; }//表示table,tr和td都应用此样 阅读全文
posted @ 2015-01-08 15:25 Jacky Ge 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 1. data-ng-app指令是整个AngularJS应用程序的根元素,定义了一个Module; 2. 在一个ng-app指令内定义的变量是全局的;比如在一个P元素内定义的cost和quantity变量,可以在另一个P元素内使用; <div data-ng-app=""><p data-ng-bi 阅读全文
posted @ 2015-01-07 16:56 Jacky Ge 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 1. 初始化:var deferred=$.Deferred(); 参考此文章; 2. Deferred对象的三种动作是resolve, reject, 和 notify,分别对应内部事件done, fail, 和 progress; 具体使用时,定义done()的操作,然后使用对应的resolve 阅读全文
posted @ 2015-01-06 09:17 Jacky Ge 阅读(315) 评论(0) 推荐(0) 编辑