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.

learn more… | top users | synonyms (2)

0
votes
0answers
209 views

Modal Dialogue for List Edit Form

Working to create a link to a modal dialogue box which contains the edit page for a list item. Background: I'm using SPServices to query a custom list, and render the data in a HTML table formatted ...
0
votes
0answers
71 views

Trying to get list of groups a user belongs to

I came across this post showing how to create a permissions management webPart using SPServices. I tried to do it in SP2010 but keep getting error " User not found". I think it has something to do ...
0
votes
0answers
89 views

consuming WCF web service from client side in SharePoint 2010 Visual Web Part Sandbox Solution

I have a visual web part Sandbox solution. I need to attach an external WCF web service in order to submit data to database using the custom form I have created. Is there a way I can attach web ...
0
votes
0answers
39 views

Intercept WikiPage Check In/Check Out Javascript Event

We're looking to customize the Status: Checked out and editable. SharePoint notification on our Wiki libraries. We'd like to change the message and include a button to the right that checks in the ...
0
votes
0answers
191 views

Resource interpreted as Image but transferred with MIME type text/css

When browsing my SharePoint 2013 Community site using goole chorme and using its developer tool , the consule is showing the following error:- Resource interpreted as Image but transferred with MIME ...
0
votes
0answers
102 views

Retrieving specific div from a wiki page on ajax call

I am trying to retrieve a specific div content through ajax call from a wiki page and then I need to use it in a web part page. The problem I am facing is that if I use this $.ajax({ ...
0
votes
0answers
177 views

javascript:OpenPopUpPage will close automatically on safari web browser

I have the following code to display a pop-up window:- <li class="ms-comm-adminLinksListItem" unselectable="on"> <a ...
0
votes
0answers
27 views

CreateChildControls() + Javascript

I want to use javascript to customize my custom properties. Like hiding textboxes and using javascript to generate new textboxes and so on. I just can't get javascript to work with ...
0
votes
0answers
42 views

Add content to Web Part from Modal

I'm showing a button, when editing the web part, so the user can click and a modal popups up. This modal should have a couple of option, doesn't matter now, but then I want to save the content so that ...
0
votes
0answers
91 views

Ooyala Embedded Video and SharePoint 2010

I'm having issues embedding a video from a local news channel's website into an article page on SharePoint 2010; the code I've been trying to embed was copied from the "Embed" tab of the video ...
0
votes
0answers
53 views

field 'choices' not initialized not requested

Hi im using the following code to get choices of a Choice site column. some times Im getting 'Chices' not initialized error in console. var searchtaxonomy_context = SP.ClientContext.get_current(); ...
0
votes
0answers
95 views

Create Field and Content Type in Host Web

I have tried to provision fields and contenttypes to the hostweb but with no success. This is the code to provision the field: $.ajax( { url: appweburl + ...
0
votes
0answers
305 views

Modal dialog for document library

First of all, my question. How do I make a working modal dialog popup for a document library, that shows details about that document upon clicking the document name in the library list? Please note ...
0
votes
0answers
147 views

Update/Save list item edits without closing editform

I am working with a customised list 'editform' and would like to give my users the ability to save their edits without the editform closing, which is the default SP 'Save' behaviour. I have linked ...
0
votes
0answers
77 views

Show multiline field if specific select option selected

I'm trying to create a Note box to show up when an items status is set to cancelled. What I'm noticing in the html is that within a form, switching between options does change the html until saved. ...
0
votes
0answers
116 views

Using CreateJS and HTML5 with SharePoint 2010

I'm trying to add HTML5 & createJS to my SharePoint 2010 page. In the backend library, clicking on the html file works fine... the ball is rendered and animates... I add the backend file to a ...
0
votes
0answers
105 views

Visio Web Access web part only working on some pages

I have all of the requisites set up for viewing visio drawings on sharepoint. On a site I actually have one showing, on a subsite of this site I have the exact same features enabled, but it won't ...
0
votes
0answers
146 views

Modify list item field using javascript?

I'm trying to implement some Move Up and Move Down hyperlinks in a list so that, for example, pressing move up moves the item one place up in the list. I have tried giving the list an order column ...
0
votes
0answers
52 views

SBS Silverlight Webpart Gets List Items, how can I send results to div on the page

So I have a Silverlight web part and instead of internally drilling down by changing the contents, I would like to query a list for the top 5 results (simple and down using COM), but make each result ...
0
votes
0answers
43 views

Method is not getting executed

I am developing SharePoint Hosted app. In that I have used one method: function getAllList() { try { appweburl = getQueryStringParameter("SPAppWebUrl"); appweburl = ...
0
votes
0answers
134 views

How to Set jquery Ui Date picker value to Sharepoint Date and Time field using ecmascript

I am creating list and adding items. It is working fine. when I try to update the list Date and Time field with the jQuery UI date picker values, I am getting the below error Column 'CustomDate' ...
0
votes
0answers
91 views

How to retrieve user Quicklinks from MySite with CSOM?

this is my first post on SharePoint StackExchange. Is there a way to retrieve current user Quicklinks and show it on the Startsite with CSOM? In this example, the link below "Edit Links" in the Left ...
0
votes
0answers
135 views

Autogenerated JavaScript Errors in 2010 mode (document.forms.aspnetForm)

I have upgraded from SharePoint Server 2010 to 2013 in our test environment. The sites are still in 2010 mode. I am getting javascript errors all over the place. For example, on our homepage I see the ...
0
votes
0answers
123 views

Graphing with JavaScript not Displaying Chart in Content Editor Web Part in SharePoint 2010

I'm trying to implement the use of jQuery's various graphing libraries (jqPlot in particular) to produce a simple graph (bar, line) onto the Content Editor Web Part, but SharePoint 2010 doesn't seem ...
0
votes
0answers
161 views

Install an app from the appCatalog using javascript CSOM

I'm trying to install an app in a site from the AppCatalog using the javascript CSOM I get the apps from the App Catalog using req.apps = SP.AppCatalog.getAppInstances(clientContext, oWebsite); I ...
0
votes
0answers
86 views

sharepoint datetpicker On change event in application pages

DOes any one tried calling the sharepoint date time control on DATE CHANGE EVENT in jquery or java script.. kindly let me know please
0
votes
0answers
19 views

How are list item Likes stored - how do I access individual Likes via REST API?

I need to be able to see who Liked a certain list item on the client side, via javascript - what is the best way to achieve that?
0
votes
0answers
68 views

JavaScript tab control that works on SP 2010

I'm trying to use jQuery UI Tabs but it seems to conflict with SP2010 styles, do you know any alternative that Works with SP2010? Or maybe a way to fix this? The same issue occurs with Bootstrap ...
0
votes
0answers
48 views

javascript to execute on wiki edit mode

This is a follow on from a post which I had here Wiki content editor override Denis had provided me with the javascript to do the job and after some workarounds I resolved an issue that telerik was ...
0
votes
0answers
72 views

SP2007: Parsing GetUserCollectionFromSite response

I'm writing a javaScript that has the person name and calls GetUserCollectionFromSite to fetch the user's account name (DOMANIN\loginID) from the xml. It doesn't read the data in xml using ...
0
votes
0answers
10 views

When we need to use the ECMA Script object model and when server object model.

When we need to use the ECMA Script object model and when server object model.
0
votes
0answers
66 views

Access the infopath form data using client side object model

I am using client side object model in SP2013. Now I am stuck in a scenario where I need to access infopath form data. I have a lot R & D but not got anything yet.
0
votes
0answers
37 views

display library items in content editor

I have a content editor webpart. There is a table and I would like to display the items of a spezial library in line 2, column 4. I have no idea how to realize this... maybe with javascript?
0
votes
0answers
75 views

print function is not working fine with the script code

` .styled-button-2 { -webkit-box-shadow: rgba(0, 0, 0, 0.0976562) 0px 1px 0px 0px; background-color: #EEE; border: 1px solid #999; color: #666; font-family: 'Lucida Grande', Tahoma, Verdana, ...
0
votes
0answers
80 views

Mimicking Sharepoint Global Navigation popout

I need some help creating a custom global navigation bread crumb control. What i'm trying to do is mimic the behavior of Sharepoint2010s After modifying the css to get the popout to always display, ...
0
votes
0answers
193 views

ListView Web Part - Paging Issues

I have a wiki page that has a search box that is connected to a listview webpart. The connection works great, and I get accurate results. Paging is enabled on the listview and set to 100 results. ...
0
votes
0answers
252 views

Read Only or Edit prompt (call DispEx) in Callback

I have created a ribbon button for Document Library. When user clicks the button, some changes will be applied to the document. Once the changes are done, a method will be callback-ed and try to open ...
0
votes
0answers
343 views

ecmascript check if item exists in lists

I have to check whether _spuserid exists in 10 lists of same structure and columns. var arrayOfLists=["list1","list2","list3",.......,"list10"]; for(var i=0;i<arrayOfLists.length;i++) { var ...
0
votes
0answers
34 views

Put a break in javascript function

Hi I have 10 sharepoint lists.structure,column name,data type all are same. I need to check whether a particular item is found in any list then do some action using ecmascript. var ...
0
votes
0answers
73 views

SP2007: Upload a file to data view of document library using JavaScript

I'm new to SharePoint 2007 and looking if someone can help me on this. I have a data view that displays basically documents in a library. I was asked to add an "upload file" functionality using ...
0
votes
0answers
125 views

SPServices Search - select first x items using sql type query?

I am using the SPServices library to make search requests in Sharepoint 2010 using this code: queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'>"; queryText += ...
0
votes
0answers
88 views

Getting error when doing a search with SPServices

I want to run searches with jquery and spservices library. This is what I have so far: <script type="text/javascript" src="/js/jquery/jquery-1.10.1.min.js"></script> <!-- <script ...
0
votes
0answers
284 views

Hiding Column on a List View with Grouping

I have a list that I need to dynamically hide columns on based on user. Sort of a rudimentary Column Level security type deal. This is being done through Javascript and JQuery to simply not display ...
0
votes
0answers
103 views

Possible to read values from file (.doc, .ppt. .msg) in library using javascript/jquery

Is is possible to read values from .msg file using javascript/jquery (or some other mechanism like workflows, etc) that are in library in SP2010? I know I can read values from a xml file, curious if ...
0
votes
0answers
88 views

Fail to update a SP List item from JS

I am trying to update a list item from a list with a single column 'Test' and I'm getting the following error: Request failed. This task is currently locked by a running workflow and cannot be ...
0
votes
0answers
157 views

SharePoint 2013 Partial Postback and add_endRequest

On my SharePoint search/results page I am trying to capture a partial post back by doing the following: <script language='javascript'> _spBodyOnLoadFunctionNames.push('bodyReady'); function ...
0
votes
0answers
123 views

Sharepoint 2007 onClick not finding javascript method

I'm having some real problems trying to fire a really simple piece of a Javascript code that I intend to run on the click of a button. I think the problem is the location of the script or another ...
0
votes
0answers
317 views

sharepoint 2010 with Kendo UI, REST, autocomplete

User defined List in SP 2010, with Kendo UI code as below does not display any data in for my simple 'autocomplete example' . Here is the code <script> ...
0
votes
0answers
46 views

Possible to load different things in context for sharepoint client object model code?

In my javascript (ecma/client object model) for sharepoint 2010, I am first making a request to get the current user name, then when that succeeds I then make another request to download items from a ...
0
votes
0answers
115 views

How do I open a template document in OfficeWebApp with Javascript?

I am using the following to open a template document from one location which will be saved to a another location: <a href="javascript:'" ...