Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Javascript is a dynamic computer programming language, most commonly used as part of web browsers, whose implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed.
1
vote
Accepted
JavaScript window.location doesn't work in content editor webpart
There is a problem in function call you should change
<input type="text" id="searchtxt"/> <input type="submit" value="Search" onclick="javascript:redirect();return false;"/>
issue in onclick="java …
2
votes
SharePoint 2010 - pull value from SharePoint list and pass through HTML link
try this in your content editor webpart
<div class="testing"></div>
create one div for append links
insert script after that
<script type="text/javascript">
function processResult(xData, status …
6
votes
Accepted
How to close a modal using javascript from code behind?
In code behind u close model popup like this
Response.Write("<script type='text/javascript'>window.frameElement.commitPopup();</script>");
Response.Flush(); …
1
vote
Accepted
How to know if JS file has been registered in a visual web part?
you can also use CustomAction for loading jquery in page.
just create new element file and add custom action tab like that
<CustomAction
ScriptSrc="~site/_layouts/yourjquerypath/jquery.js"
…
1
vote
Why don't update a choice column with javascript?
Hi for update list item using ECMA script you have to use SP.js
in your code i don't see SP.js reference
use this code i am update task list status column which is choice field
ExecuteOrDelayUnt …
2
votes
SP.UI.ModalDialog.RefreshPage from the dialog itself?
Hi you should try this it's working for me
Important part is dialogReturnValueCallback: scallback
function ShowModal() {
ExecuteOrDelayUntilScriptLoaded(function () {
var options = {
…
2
votes
Accepted
How to retrieve all items from a list (with custom fields) by javascript object model
In JavaScript, you specify Include as part of the query string that is passed to the load(clientObject) method in order to specify which properties to return. …
9
votes
Accepted
sharepoint 2013 rest api upload image
I solved my problem
Read file as an readAsArrayBuffer(file)
pass that file.target.result as buffer in _arrayBufferToBase64
function _arrayBufferToBase64(buffer) {
var binary = ''
var bytes = new Ui …
11
votes
2
answers
15k
views
sharepoint 2013 rest api upload image
I want to upload image or create image in Sharepoint 2013 document library using rest api (Javascript)
my code to get bite array from input type file element is
var reader = new FileReader(); …