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

learn more… | top users | synonyms

1
vote
1answer
577 views

accessing remote web services(cross domain applications) using jquery jsonp

Here is My code ..could anyone please solve this problem..I was struggling from morning..below code is not working.Actually i should get the data when we send jasondata as input..but i am getting ...
2
votes
1answer
327 views

SharePoint - jQuery - Click a box to increase height and reduce other open boxes

I have a list with several list items. Each of these items have been styled through XSLT and CSS as boxes with content in them. The Content Query Web Part is displaying this information. When I ...
2
votes
2answers
585 views

How to duplicate a question in a survey?

We have a survey that has 10 main questions. All of these questions are unique. After each question, we want to show last year's average answer to the same survey question. We're able to insert ...
2
votes
0answers
752 views

Filtering SharePoint list items that have multiple values using jQuery

I have a SharePoint list that contains multiple columns of information. There’s a Category column that’s a look up to another list called ‘Category’. This is to produce unique ID’s for each of those ...
1
vote
3answers
261 views

A custom timer job to show a client side coded popup monthly

In my current project, I have been told to design a custom timer job which will run once a month and display a popup(which I'm planning to show as a modal dialog coded in jQuery). On clicking the ...
1
vote
1answer
495 views

How do I convert this code to JQuery

I've been trying to convert this code to jQuery from Javascript but to no avail. This code is for adding a new item to a list which I took from the msdn website. It works in javascript but I need it ...
1
vote
3answers
469 views

How to load page load javascript when update progress is over

How to load page load javascript when update progress is over. $(function() { // how to load this after update progress is over } Explanation My Grid inside update panel.. In Grid some of ...
1
vote
0answers
139 views

Updating a value of any item in a list based on a selection of bool for one item - jQuery

So I hope this makes sense. I have a column within a list that I want to use as an active flag. There are 5 possible categories and for each category there can only be one active value. So I need some ...
1
vote
1answer
118 views

Site Template with Custom Pages: css, javascript?

If I create some custom pages that include custom html, css and jquery and this page exists within a site that is used as a site template, will that cause issues? From my limited experience with this ...
2
votes
1answer
375 views

How to use aop.js with jQuery on Grouped Lists?

This question came from following up on an answer given here. I want to use jQuery to work css modifications on a list that has grouping. I discovered a jQuery script called aop.js that will allow ...
3
votes
3answers
7k views

Why does jquery's document.ready not fire?

In my master page, I have attached jQuery along with my own custom.js. I use the javascript in that file to run fixes on my pages such as style adjustments. Now, when I run simple functions on my ...
1
vote
3answers
573 views

Jquery clickable Tooltip inside SharePoint WebPart

I have a requirement in which when ever user hover over a text(hyperlink) a tool-tip should appear that should contain images which are clickable using JQuery $('.cover_beholder').hover( function ...
1
vote
3answers
671 views

SharePoint 2010 Modal dialog problem with Jquery datepicker

i have a link on which i am opening a webpartpage embed in SharePoint ModalDialog. Inside webpart I have a textbox contains jquery.datepicker ..whenever i select the date the ribbons title scrolls up ...
2
votes
1answer
503 views

FormField value set with javascript, value lost on postback

I have a custom list of "requests" which need to accommodate a required time range for a single date (among other fields), so I added "start" and "end" columns of date and time type. I used designer ...
1
vote
0answers
118 views

How to Reconcile External Data and Multiple Values for a List Item?

I am currently developing a solution that requires me to integrate a SharePoint 2010 list (generic list type) with items from a SQL Server database. In addition to this hypothetical field being ...
4
votes
2answers
4k views

JQuery Accordion with SharePoint 2010 Custom List

I have a FAQ custom list in Sharepoint 2010 with two columns: Question (title column renamed) and Answer. I want to display the questions and answers from the sharepoint list in JQuery Accordion. ...
10
votes
2answers
763 views

Opening and closing AssetPortalBrowser.aspx in SharePoint modal popup

I am trying to open the "OOB" AssetPortalBrowser.aspx from a page within a SharePoint native modal popup. My aim is to get the selected filename back to the script. So far I was able to open the ...
2
votes
1answer
1k views

Calling Upload Dialog with javascript, can I pass value through to the edit form that follows?

I have a button that opens the upload dialog from a page using the below approach: function openUploadNewDocumentDialog(passingID) { var dialogOptions = SP.UI.$create_DialogOptions(); ...
1
vote
2answers
447 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
757 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
539 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
2k 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
299 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
3k 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
1k 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
336 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
2k 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
155 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
54 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
201 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
391 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
102 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
147 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
117 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
246 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
395 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
605 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
503 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
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
1answer
518 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
277 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
2k 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 + ...
2
votes
2answers
2k 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 => ...
1
vote
1answer
507 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
613 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
121 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
83 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
207 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
471 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 ...