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

learn more… | top users | synonyms

1
vote
2answers
309 views

js/jquery doesn't work on site's upload.aspx?

is that right? If I go to a library in the designer, i can see upload.aspx there. Can't create a new one (and i guess that is because there is really only one per site, or collection?). Anyway, I can ...
0
votes
2answers
430 views

How delete a record from list by using a jQuery

I find aut a this article about to easy and fast delete a records from list: http://spservices.codeplex.com/discussions/245147 How could I use it ? Can I use it on cs files, if yes so how can I use it ...
0
votes
2answers
393 views

How to send dynamic parameters in url of sharepoint modal dialog options

I have the following code for the javascript modal popup. function ShowSearchBox() { var options = { title: "Search Here", width: 760, height: 380, url: ...
3
votes
2answers
1k views

How to show twitter feed using Jquery?

I want to show My Twitter Feed horizontally using Jquery in my web page. How can i do it?
0
votes
2answers
179 views

COM: javascript/jquery method for creating a xml data file from SharePoint list data (multiple)

Does anyone know how I can pull off creating an xml data file from data in multiple lists using SPServices/Javascript/jQuery? I can certainly bring all the data I need out to a page and load into DOM ...
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
2
votes
3answers
784 views

sharepoint 2013 / bootstrap.js / only working in edit mode

I am trying to get the twitter bootstrap framework running on our sharepoint 2013 intranet page. When I'm editing the page, the code is working as expected. After saving the web part page, the ...
1
vote
1answer
211 views

Manually setting sort order of items in a Sharepoint List using JQuery and SPServices

I have a Sharepoint List called "tasks". The field names are taskname (string), priority (integer). Using JQuery's sortable feature I am at the point that the user can manually sort a list by ...
5
votes
2answers
1k views

Sharepoint 2010 Webpart Ajax not working

I have a custom webpart within Sharepoint and am trying to apply some ajax to the webpart. The same code works within a .net web application but not within a sharepoint web part. The code from the ...
1
vote
1answer
131 views

Document download keeps restarting automatically

The problem: I want to open an excel document automatically from a custom aspx page in the layouts folder (sharepoint 2010) which refers to a document in a document library. The "DocumentUrl" is ...
0
votes
1answer
50 views

Possible solution to a lot of expensive webparts on a single page

I have a question regarding the loading issue of a page. Current situation: I have a page layout in my SharePoint 2007 environment, this page layout defines a lot of web parts we can say up to 40 of ...
2
votes
1answer
178 views

Open MultiUpload modal form

Could you please tell me how to open a MultiUpload modal form, without using or displaying the single upload form? <script language="javascript" type="text/javascript"> $(function () { ...
2
votes
1answer
323 views

Does jQuery ship with SharePoint?

Currently, we want to upgrade jQuery in our products, so I want to know if SharePoint use jquery in its js? It will help us to make decision about which jquery version we are going to use. I try to ...
1
vote
2answers
98 views

Confirmation Box while Item Adding event Moss

I need a confirmation box for Item Adding event on a custom document library, can someone tell me what would be the best way of doing it using C# or I don't mind using jQuery/Javascript plugin either. ...
0
votes
1answer
126 views

how to load custom menu last

I have a share point site i noticed the menu loads slow.its a customized menu based on a list and jquery.I load the script on my masterpages I would prefer this menu to load last after all the other ...
0
votes
1answer
101 views

JS libraries not loaded on page with multiple form webparts?

I'm struggeling with a weird behavior on some of my pages. It occurs both on plain site pages and on web part pages: I have built various form-webparts and exported them. They all are referencing ...
0
votes
3answers
214 views

JQuery only seen my Site Collection Admins

I'm using JQuery tabs in a SharePoint 2010 environment. The files are in /_layouts/scripts/ and linked via the only one master page. The .js files are linked using <SharePoint:ScriptLink ...
2
votes
2answers
1k views

Custom Content Query Web Part in a Sandbox Solution

I am looking to create an "image slider" web part for my SharePoint 2010 site home page to display a nice glossy roll-up of our recent news articles. There are literally hundreds of jQuery plugins ...
0
votes
1answer
309 views

Lookup column details are not coming in the result xml

I am trying to get the details of the list in sharepoint by using the jquery in content editor webpart. I created one .js file and I made a link in the content editor webpart. This is working awesome. ...
1
vote
2answers
368 views

Get id's of tags that are in a web part in Javascript

Ok, I have a page that that has a DataFormWebPart that basically displays the info from a document library. Now what I want to do is, using jquery, display or hide a section in the web part. I can do ...
2
votes
1answer
368 views

jQuery Cookie path/subdirectory issue

I hope someone might be able to help me out. I have an jQuery animated quicklaunch in which I "remember" the open/closed states through use of jQuery cookies. This works well, with the exception of ...
2
votes
1answer
949 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
1answer
404 views

sharepoint 2010 - dynamically load web part (in web part zone) using jquery/ajax from link/button

i would like to have a link, when clicked loads a web part (for example list view web part) that retains its user config. therefore it needs to be a in a web part zone, personalizable and retain its ...
0
votes
1answer
252 views

create my own jquery form from sharepoint designer 2010

How can I create my own custom jQuery form from within SharePoint Designer 2010, with my own validation tactics for the form, and my own post data processing with Ajax? Any good tuturials out there?
0
votes
1answer
1k views

Help with parameters, REST and listdata.svc

I'm calling listdata.svc a few times with different URL's depending in what is selected, I have some issues with the parameters/filters. First URL: var listUrl = siteUrl + ...
1
vote
1answer
1k views

How to get PublishingRollupImage for page in Page library with REST and jQuery?

I have a repeater in a user control and I databind it in code behind like so: var items = list.Items.Cast<SPListItem>() .OrderByDescending(a => ...
0
votes
1answer
368 views

javascript/jquery to create a document set

i have seen several SOM examples online for programmatically creating a document set, but I would need to accomplish this with javascript/jquery if possible. Is this possible, and if so how is it done ...
2
votes
2answers
532 views

Jquery Tab Control doesn't Work in SharePoint Custom Form Template

All I have created a custom webpart for my list instance. This webpart is inserted within a RenderTemplate for the list. I have several Jquery Libraries loading within the webpart. For the most part ...
0
votes
2answers
114 views

Need help with jquery swapping image in Sharepoint webpart

Can anybody help me with jquery code please. I need to swap this broken image in the webpart which was hardcoded please. I need to change image in the html below. <div class="CommentsClickto"> ...
0
votes
2answers
78 views

“Read more” sort of thing for partial load of items?

We have a asp.net listview displaying news item on a page and it has paging functionality to load the next set of news which works fine. A requirement now is to implement more modern Read more ...
0
votes
0answers
183 views

XSLTListViewWP: filter results based on javascript variable/other control on page?

I have some custom html/jquery form stuff on a page, and I would like to update a LVWP on another part of the page if a user adds something. So for example, the list view web part just shows items on ...
1
vote
1answer
390 views

Clear Multiselect Lookup

I am trying to add a button for my users to clear a multiselect lookup value using JQuery or Javascript. I have found some information about setting a default value on a single select lookup, but ...
0
votes
1answer
44 views

Retrieve name of selected/clicked item of a custom list using jQuery

How to retrieve the name of selected/clicked item of a custom list using jQuery.
1
vote
2answers
167 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
458 views

Upload.aspx auto check/uncheck option to overwrite files from client side js/jquery

So if I reference the upload.aspx with guid, show that dialog from a link or something from a page, is there anyway I can get to the elements of that form? I only have javascript/jquery and designer ...
0
votes
1answer
216 views

XSLT/Webpart View in Custom Javascript text file?

So this may be silly but I want to ask anyway, if I am using the text file approach (markup and javascript within text files that a CEWP references), is it possible to add mark up or script that would ...
1
vote
2answers
1k views

Retrieving a lookup Value from a List using jquery and REST

I would like to get the lookup Value from a List item depending on it's Title. My List is set up similar to the following example: ColumnA : a | b | c lookupB : 1 | 1 | 2 The jquery: function ...
0
votes
1answer
173 views

Switching between two dataview webparts (No post back)

I have 2 DVWPs and would like to use a tab or link to switch between them without postbacks. I was thinking of using jQuery. One DVWP would have around 100 rows the other 400 rows. Any suggestions ...
0
votes
3answers
2k views

Populate a text box based on drop down value from a sharepoint List

I have a List B that has a look up column "State" to a column "State" in List A .List A has corresponding column "City" to each state(unique combination) . While adding new item in List B , State is a ...
1
vote
1answer
228 views

How do I change the href destination of a link in a list using jquery?

I have been trying to edit links within lists to change their overall functionality, but have had no luck with changing any property of the links' functions. The properties I have tried to change ...
2
votes
2answers
792 views

Can't get a basic Modal to work on 2010

I'm migrating a project from SP2007 to SP2010. I want to get a modal popup to work, to open up the New Item window of a list from an aspx page. I can't get the modal to work in the most basic example, ...
1
vote
2answers
369 views

How do I create dynamic infographics in SharePoint?

I'm looking to add a dynamic infographic with the ability to update it using a SharePoint data library or list. Has anyone accomplished this (that is easy or quickly updatable). For example, I want ...
0
votes
4answers
431 views

jquery 1.7.2 and spservices 0.7.0 syntax unrecognized error with .find(“[nodeName=z:row]” and .find(“[z:\\row,row]”

both .find("[nodeName=z:row]" and .find("[z:\\row,row]" give me syntax unrecognized on SharePoint 2007 IE 8 client trying this code that redirects me to the dispform given a match on title list ...
-3
votes
1answer
97 views

What JQuery effect is this? [closed]

I found this really nice effect on this website: http://www.engadget.com/ Please take a look at the IE advertisements on the top and the right side of the page. It seems like some kind of elastic ...
1
vote
1answer
3k views

jQuery to modify SharePoint 2010 Column Width

SharePoint 2010 - I have a Standard Task list in Gantt View that represents a list of projects (Sync from Project 2010). Since the column widths are not-persistent in SharePoint, I wrote a script to ...
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
702 views

SPServices: How would I add Ascending=False to CAML in GetListItems

How would I use SPServices GetListItems and still be able to add Ascending=False to the CAMLViewFields? I haven't used this for long and I am just wondering if this is possible? Thanks as always!
1
vote
3answers
1k views

jquery and javascript : can i get the last ID from document library?

Is there a way to get the last ID from a Document Library with javascript/jquery?
1
vote
1answer
432 views

Set data to Sharepoint Gridview from List and remove appropriate selected columns

I am using c# and I have a SPList with fields such Title and Translation. I want to set Word and Translation into SPGridview. I can retrieve data from my List: string translation = ...
0
votes
2answers
859 views

Batch update with javascript client object model?

Anybody know how to do batch list updates with the javascript client object model in Sharepoint 2010? I'm putting the list into an array right now and then a kendo grid is reading it. I can update ...