This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
var setArea = $('#loadarea'), | |
loadNum = 1, // 読み込む個数 | |
loadTxt = 'Now Loading...', // Loading中の表示テキスト | |
fadeSpeed = 500; // フェードスピード | |
var onclickStr; | |
var txt; | |
$.ajax({ | |
url: "/[your site]/_api/web/lists/getbytitle('test')/items?$select=*", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//test for use in a chrome extension | |
//via http://withinsharepoint.com/archives/256 | |
function _loadsp() { | |
var interval; | |
function loopCheck() { | |
if (typeof (_spBodyOnLoadWrapper) !== "undefined" && _spBodyOnLoadCalled == false) { | |
console.log('applying sharepoint fix'); | |
_spBodyOnLoadWrapper(); | |
}else{ |
NewerOlder