An open-source, cross-platform JavaScript library, now endorsed by Microsoft

learn more… | top users | synonyms

0
votes
0answers
34 views

Force Postback on a ListForm

I have a jQuery script that toggles some fields on a ListForm. It worked great on my jsfiddle, but when I added the script to a CEWP on the page via the content link, I can tell it's running b/c when ...
1
vote
2answers
2k views

SHarepoint 2010 - popup an image for 5 second after i open my site

How i can popup an image that display for 5 second as slogan/announcement after opening my sharepoint site welcome page As Example: http://www.lebanese-forces.com regards, Hass
0
votes
0answers
31 views

Document library webpart loses place when Next page link clicked?

I have a specific requirement where I have to show two libraries inside a folder is in 3rd library. so, what I have done is that added those two library webpart on the Allitems.aspx page of the 3rd ...
1
vote
2answers
180 views

Changes in SharePoint Online (Office 365)

I have an idea to solve a problem by adding jQuery/javascript to a aspx page (in this case the DispForm.aspx) But I thought I've heard that SharePoint Online installs automatically updates. Can this ...
1
vote
1answer
134 views

custom web service with SOAP

I have a requirement to be able to pull data from a repeating table on an InfoPath form and put it into a report. I found a solution file on Codeplex that will read the data out of the repeating table ...
0
votes
2answers
274 views

Listdata.svc and $expand

Normally I would use jQuery to get data from listdata.svc like this: $.getJSON(listUrl, function (data) { $.each(data.d.results, function (i, result) { A ...
0
votes
1answer
146 views

Remove Fly-out Menu from Quick Launch Bar

After hours of research I am not able to find a way to remove the fly-out menu from the quick launch bar without changing the master page. I tried by changing the Tree View settings, as well as quick ...
1
vote
2answers
797 views

jQuery Hello World on NewForm.aspx Without SharePoint Designer?

I'd like to modify the Add to list functionality found in SharePoint. The only caveat is that I can't use SharePoint designer, as our site is hosted on Microsoft's servers and they've disabled that ...
0
votes
1answer
32 views

Best approach for a custom workflow

My team will soon be building a workflow for a list in SP2013. The OOB approval workflow provides most of the needed functionality, but we need the approval flow set dynamically based on names ...
0
votes
0answers
147 views

Hide date field in datetime column in sharepoint 2013 with jquery

I have a list in which a Date column is there which is DateTime column. I want to show only time selection field to end user.I am using jquery in side content editor on list page to hide only Date ...
3
votes
2answers
2k views

How to set Taxonomy Control using jQuery

I have a list with managed metadata column. In the new and edit form, I would like to set the value of that field using javascript. Is it possible to set the Taxonomy Control ...
0
votes
1answer
95 views

Call jQuery and other scripts for the entire site collection

I want to be able to use jquery and other javascript files across my entire site collection. If I create a new site, it should already be calling jQuery. I don't want to have to worry about whether ...
0
votes
3answers
165 views

Show progress indicator until last row has loaded into DVWP

I have designed a DVWP in SharePoint Designer 2010 that shows multiple items from a library (let's say it shows 1000 items for example) grouped by category. What I would like to do is show a loader ...
4
votes
6answers
4k views

Setting the value of the textfield in sharepoint list form 2010

I have a textfield in sharepoint list form and I want to set the value using jquery or javascript below is the tag: <asp:TextBox runat="server" id="ff47{$Pos}" text="{@Name}" ...
1
vote
1answer
185 views

Hide controls on the NewForm.aspx

The newForm.aspx page of the SharePoint Calendar has a radio button for "No end date". I am trying to use the function below to hide the radio button. Is the title of the radio button the display name ...
0
votes
0answers
32 views

Process Document from SharePoint 2013 Online App Host Site Externally

I am attempting to create a SharePoint 2013 Online App that will process documents stored on the host site collection. I'm able to use jQuery ajax to retrieve a file from the host site collection and ...
1
vote
1answer
273 views

Button to Show/Toggle Sharepoint Ribbon

I would like to add a button to a webpart we have already created that increases usability for our document libraries. I would like this button, when clicked to toggle the standard ribbon that is ...
0
votes
2answers
7k views

How to add jQuery script to a custom visual webpart?

Similar to some previous questions, I'm trying to use jQuery in a visual web part but I keep getting that jQuery is undefined. I've added the jQuery script to SiteAssets as well as a script folder ...
0
votes
1answer
463 views

SP.UI.ModalDialog.showModalDialog IE7 compatibility

I am having a similar issue as the following question: SP.UI.ModalDialog.showModalDialog not working with IE7 The problem is, the resolution to that question doesn't apply to my specific scenario: I ...
0
votes
0answers
39 views

Sharepoint 2010: stop auto-populating of attendees field in new form from weekgroup calendar view

I modified the default view of weekgroup calendar by adding all the team member's calendar on default, using jQuery. The issue is that when the new item form is opened from this view, the attendees ...
2
votes
1answer
416 views

Jquery is not working on IE10

The below script works properly on the firefox and hides the Page Rating & Last modified divs however it is not working on IE-10, am I missing anything? <script type="text/javascript" ...
0
votes
1answer
229 views

How to get the name from a user id

I query a list via jQuery (on the RSS presentation). The content type has one field that is used for a responsible. In the XML returned, only the User ID is supplied. How can I get the name of that ...
1
vote
1answer
61 views

How to get value of multiple list filter webparts

Related to the previous post about accessing a List Filter Web Part value How to get value of List Filter web part in Javascript? How do I get access to the value of multiple list filter web part ...
0
votes
0answers
39 views

Getting updated node information after AJAX call

I am trying to get a list of html elements using jQuery on a Calendar view page. However, since calendar can change months, weeks, etc. asynchronously, how do I get the up-to-date information using ...
0
votes
1answer
617 views

Autocomplete with SPServices

This is my scenario I have a list of clients on the root site collection. www.mydomain.com/lists/clients I have 17000 clients on that list. Then I have other site collections, where I want to have ...
1
vote
1answer
250 views

SP Services does not update the list item

SP Services : UpdateListItems does not update the list item. The problem lies with the value that needs to be updated. The item is updated when the value is a normal text, but when it has some special ...
2
votes
1answer
237 views

SharePoint 2013 Markup code works inside Placeholdermain but not as code embed in webpart (EmbeddedFormField)?

On SPO 2013 trying to deploy some custom markup code to bind a list Markup code works when placed in Placeholdermain via SPD vs embedding the code Site Page webpart (EmbeddedFormField) I have this ...
0
votes
5answers
2k views

JS/jQuery Check if on root web of root sitecollection

How is it possible to check in JS/jQuery if the user is on the root site of the root sitecollection in the webapplication? (Sharepoint 2010) Thanks! Example: ...
2
votes
1answer
1k views

jQuery find doesn't return single result - SPServices, SharePoint 2010 Search Web Service

I'm using SPServices to access the SharePoint Search web service. When it returns multiple results my code function fine. However, when it returns on a single result the str.find("Document").length ...
1
vote
3answers
1k views

How to get the Login Name of user from people picker control using jquery?

I want to get the log-in name of user from people picker control using jquery. I have a code which displays the display name of the user but I am not able to get the login name. Code is as follows: ...
0
votes
2answers
731 views

Unable to get user name from the People Picker control using jQuery [duplicate]

I want to do some operation based on the user entered in the people picker control. My code is: $(document).ready(function () { $("input[title='Project Owner']").focusout(function () { ...
1
vote
1answer
93 views

Get the REST method to work

Why the following code does not work? What do I need to do? <script src="<MyServerName>/SiteAssets/jquery-1.9.1.js"></script> <script ...
0
votes
3answers
628 views

Multiple lists merge in to single list

I have 3 lists Initiatives ----------- Initiative (single line text) Themes ------ Theme (single line text) Initiative (Lookup from Initiatives:Initiative) Features -------- Feature ...
0
votes
0answers
44 views

JQuery unconsistant behavior on sharepint display form depending on how i open the page

have a sharepoint calendar whose display form I have added a jquery script to using the CEWP. When I click on an item on the calendar for display I get different behaviors if I click the item within ...
0
votes
0answers
90 views

pre populate fields in modal document upload window

Ive been strugling with this all day, every solution ive found seems to be about how to pass in arguments into modalwindows. But nothing on how to populate fields with them :/...what also complicate ...
0
votes
0answers
67 views

Problem updating list when clicking in another, using jquery and Update Panel

Im trying to update a list in updatepanel when clicking in another list. my solution is prolly not the nicest but it kinda works. what I noticed is my ".click" gets called multiple times, one extra ...
1
vote
2answers
3k views

how to enable/disable a dropdown based on value in another dropdown in sharepoint 2013

I want to enable/disable a dropdown field based on the value of other dropdown field in the sharepoint 2013 form.I know that it is possible using jquery but i dont know how to write? help me to get ...
0
votes
1answer
8k views

Setting the value of a lookupfield(sharepoint dropdown formfield) in sharepoint 2010 list forms

How can i set the value of sharepoint form field dropdown box(lookupfield) in sharepoint list form when the form gets saved (using jquery) note: the lookupfield (dropdown formfield renders as input if ...
0
votes
2answers
147 views

Access DVWP z:row with Javascript [duplicate]

I need to loop through the z:row of a Data View Web Part on the client using JavaScript to push to an array and then use the JavaScript CSOM to create a new list item in an existing list. var ...
0
votes
1answer
67 views

SharePoint List add comments as formatted text

I'm not sure if this is even possible but thought someone must have done something similar. What I'm looking for is the ability for a user to enter a "comment" and that comment populate another field ...
3
votes
3answers
1k views

Prevent/override standard Modal Dialog close button(X) from closing

I want to validate custom modal dialog form and if its not ok, prevent form from closing. For this purpose, I attached to X-close-dialog-button. Problem is to prevent it's default behavior. function ...
1
vote
3answers
366 views

Using javascript to apply “noindex” to get SharePoint to avoid crawling certain content

I have a problem with navigation elements being crawled on our SharePoint site. These elements come from a custom control that's used for building the site navigation, so the output is just html that ...
0
votes
3answers
146 views

How to design look up list for 20 sub-sites?

Say, I have 20 sub-sites under corporate sales. There are 3 lists that drives the look up columns. Country (USA, Mexico, Norway, Morocco, etc.) Regions (SW, NW, S, W, N, MW, etc) SalesArea (Service; ...
0
votes
1answer
229 views

Help with SPCascadeDropdowns cascading lookup column

I have this jquery added to my editform.aspx in SharePoint. I want the childcolumn to also have unique values, although it may contain duplicates example below. Example. When I select mycountry, I ...
1
vote
2answers
275 views

CAML In clause - Value does not fall within the expected range

I get a 'Value does not fall within the expected range' error from the following CAML. <Query> <Where> <In> <FieldRef Name="ID"/> <Values> ...
0
votes
1answer
157 views

Mega-menu tab on multiple site collections

I would like to create a tab in SharePoint 2007 that is a mega menu. This mega menu tab will be implemented on multiple site collections. It will be a part of the global navigation in each site ...
0
votes
1answer
179 views

How to add a rule to a RichText Editor using jquery.validate.js plugin?

I'm currently adding some customizations to a SharePoint 2013 form using jQuery. I could add some rules to the 'input' and 'select' elements, but I can't do it for a RichText Editor. Did anyone try ...
0
votes
0answers
93 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 ...
2
votes
2answers
2k views

Left navigation bar customization based on user permissions

Hi I have to change my left navigation based on specific user permission. is that possible without change in masterpage . I know jquery is one solution but any other way through we change left ...
0
votes
1answer
123 views

Sharepoint 2010 Javascript Client OM, get user data (not current user) via javascript object model

There are plenty of examples of getting the current user via javascript object model in SharePoint 2010, but I am looking for help with getting any users email/title when I have the loginName. There ...