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

learn more… | top users | synonyms

1
vote
1answer
382 views

A script on this page may be busy, or It may have stopped responding

there is one webpart on page that rotate the images so i added a jquery to rotate images and its working fine but after sometime it gives error like A script on this page may be busy, or It may have ...
0
votes
4answers
298 views

isotope menu for my landing page

I found the following, and I love it: http://isotope.metafizzy.co/ I'd love to make this into a menu for my landing page - what should I learn to figure out how would I go about doing this? Is it ...
0
votes
1answer
230 views

jquery validation : save conflict error should popup when user tries to add similar data

When a user tries to add data for two fields which were already selected in the previous new item, it should not allow the user to save, validation error should be thrown.. Sharepoint should check ...
0
votes
1answer
334 views

Set value of choice field based on input from people picker

I have Choice Field which i use to filter items within a list. I'm trying to figure out a way to set value of this choice field within my edit form is there is a name in the people picker field. ...
0
votes
2answers
1k views

Javascript fails in chrome and firefox, works fine in IE

I have this JavaScript code for my SharePoint forms which does not work in other browsers but Internet Explorer. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" ...
1
vote
1answer
122 views

Footer does fill the whole width. Scrolling in document library

I have a problem with the footer not extending to the right side when scrolling to the right. (In a document library with way to many columns). Meaning the footer have a blank spot in the right side ...
0
votes
1answer
226 views

jquery is not working on panel hide on post back

Hi I have created sharepoint application page and i have a Dropdownlist(ddlTaskFrequency). On dropdown text changed(Monthly) i have written a jquery code to show panel2 and hide panel1. it is working ...
2
votes
2answers
3k views

Loading jQuery and jQuery UI within JSLink script

How would I go about using jQuery and jQuery UI (mainly the sortable component) within a JSLink script. So far I've tried several methods of dynamically loading javascript within the JSLink script ...
1
vote
0answers
280 views

SharePoint Input Form Text Box Menus With JQuery Tab

The question is about mix of both JQuery Tabs and SharePoint Input Form Text Box. My client requirement is to have a web part zone on the top and couple more in the middle wrapped with div that JQuery ...
0
votes
1answer
228 views

Getting error “Object doesn't support property or method 'commitPopup'” when saving a new alert in SP 2010

In my SP 2010 environment, I have a html page, that has an iframe, and the iframe is the page where you create a new alert for a list. In the html page, I dynamically create the iframe and then insert ...
0
votes
1answer
643 views

Hide weekend in SP2010 Calendar?

I'm trying to hide the weekends in my SP2010 calendar and all the sites online links to http://blog.pathtosharepoint.com/2008/12/17/calendar-weekdays-only/ I tried getting this to work and it seems ...
0
votes
2answers
343 views

Problem with jQuery Function for Expanding Grouped Lists

In my portal, I have a custom list that is using grouping. Now, I want to automatically expand all the groups, so I have mustered this javascript/jQuery function. I use a delaying function to load ...
0
votes
1answer
367 views

Javascript Object Model REST/AJAX: does callback/resulting function have access to the id of newly created item

so if I use rest like method to create a list item in javascript, can I get the id of the newly created item in the callback/result function? function createNewRecord(url, body, callback) { ...
1
vote
1answer
189 views

Video files are downloading instead of playing [closed]

I've uploaded .swf files to a document library and the jwplayer.js file to the same library. From there I've uploaded an HMTL file which contains: <html> <head> ...
0
votes
1answer
1k views

Jquery is not working on sharepoint date time control

Hi In my application page i have a sharepoint datetime control. I am using jquery on text changed event to calculate the number of days and displaying in a text box. Now i want to fire the same event ...
2
votes
3answers
2k views

How to Create Piechart in sharepoint 2010 Based on the List item Values? Only using Javascript/jquery

I have a CustomList in Sharepoint 2010 as Mentioned Below.have two columns Team and Values of Team List A Team ValuesofTeam A 9 A 6 B 7 C ...
0
votes
3answers
3k views

Jquery to load dropdown on selected index change of another drop down in sharepoint 2010

I have 2 dropdowns. On Selected Index change event of ddlTaskFrequency dropdown i want to load another drop down. For example: If ddlTaskFrequency text= Daily or Weekly i have to load another ...
0
votes
1answer
942 views

Set the column width in GANTT view

When the GANTT view is being used, how could one resize the columns using jQuery without using the generated controlid (like in this example)? I'm looking for a way to do this in a re-usable ...
0
votes
4answers
720 views

Unable to call jquery on Application page in sharepoint

I have written a jquerwery on drop down selected fecthing it value ina label. It is not working in application page.Same is working in normal aspx page. Can you please help me what iam doing wrong. ...
0
votes
1answer
112 views

How do i declare array for the lookup column using jquery

How do i declare array for the lookup column using jquery. I have a column whose values should be declared as array. so that my requirements get it complete. I need that ID for every values to get ...
3
votes
2answers
1k views

How to get Id of the selected listitem of dropdown field

I have a dropdown field which is a lookup containing values. I need to get the ID of the selected value whenever we change. I tried using the following. I didnt get any response $ ...
0
votes
2answers
368 views

Autopopulate textbox value when a dropdown value is selected

I have two column country(dropdown) and Region(Textbox). When i select a value in country the respective region value should be populated in textbox. I have separate list containing the columns ...
4
votes
1answer
140 views

sharepoint 2010: javascript rest api not returning full decimal values, truncating to tenth

I have a list with a several columns that have number values to fourth decimal place, and I am using javascript com to get data via rest GET request and following simple callback function ...
0
votes
1answer
124 views

Get Businesses connectivity field Value in NewForm.aspx with Jquery

how can i get the Businesses connectivity field Value in NewForm.aspx with Jquery. i tried with this script: <SharePoint:FormField runat="server" id="ff4{$Pos}" ControlMode="New" ...
1
vote
0answers
139 views

executeAsync strange behavior - sharepoint rest services

I'm using Sharepoint Rest services to update List Items. To do the update, I'm using the function executeAsync from the SP.RequestExecutor object. The code was working fine, but while I was testing it ...
1
vote
2answers
587 views

jQuery.noConflict() and Sharepoint 2010 WebParts

I've made two webparts for Sharepoin 2010 with jQuery plugins fancybox (slider) and cycle (slider). I need to locate both webparts on one page. But it doesn't work. I tried to use jQuery.noConflict() ...
4
votes
2answers
781 views

Object #<Object> has no method 'showModalDialog'

Consider the following code: var options = { title: 'Create a new Post' autoSize: true, url: url } SP.UI.ModalDialog.showModalDialog(options); The code is executed from a ECB custom ...
0
votes
1answer
169 views

How to use REST with the search service?

I am currently using SP2010 and spservices to make SOAP requests for search. I am doing this client sided using javascript/jquery . But now I want to use REST and still on client side. This is my SOAP ...
0
votes
4answers
340 views

How to get the list item column values based on the html drop down and display in the alert box using Javascript?

I have a html dropdown list(team name) which contains three values A,B,C I have a sharepoint 2010 List A which contains Team name and Email. List A Teamname Email A A@test.com B ...
0
votes
0answers
326 views

Getting error when doing a jquery ajax funtion to a webpart aspx page

I want to send data using ajax from jquery to c# (note: im sending request to the same page). I am following this tutorial http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/. ...
1
vote
0answers
285 views

How to get the distinct values from sharepoint list using GetListItem and bind to dropdown?

I am Passing the XML for getting List item and binding to dropdown. Here i have shown the code.. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ...
0
votes
1answer
498 views

adding jquery in masterpage

I am using jquery its loading it, but its not working. when I check the firebug console, I dont c any error, but in IE developer console. SCRIPT438: Object doesn't support property or method ...
2
votes
1answer
232 views

How to pass arguments to SPServices function request?

In SPServices library, I make a search request using: $().SPServices({ operation: "Query", queryXml: queryText, completefunc: searchComplete }); function searchComplete(xdata, status) { ...
3
votes
2answers
103 views

sharepoing rounded corner jquery plugin

I trying to using the jquery plugin of rounded corner, directly into the masterpage (v4.master) here is the code: <SharePoint:ScriptLink ID="ScriptLink1" Name="~sitecollection/Style ...
3
votes
1answer
216 views

SP2010 possible to create a text file in document library and fill with data from list using JSOM JavaScript/jquery

Is it possible to create a new item in a library and default that to a txt file or XML and using JavaScript or jquery insert data from a list into that file? For example from a page click a button ...
0
votes
2answers
68 views

JQuery on SharePoint 2010

What are the business case scenario when JQuery controls are used in CSOM programming in SharePoint 2010? I mean what are business case scenario when JQuery frequently used in SharePoint 2010? Which ...
0
votes
0answers
84 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
1answer
229 views

How to set a search scope in SPServices search function?

I am doing a search using this code: var queryText; queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'>"; queryText += "<Query>"; queryText += ...
1
vote
1answer
742 views

How to filter by only pdf files in querypacket?

In a query packet used in SPServices to do searches on Sharepoint 2010 using jquery, I want to filter the results to only .pdf documents. How can I do that? The below shows all types of files... ...
2
votes
2answers
334 views

SP2010: Get all library names within a site using javascript client object model?

How do I get the names of all libraries within a given site using jquery/javascript? the only way i know of is using getByTitle('listtitle'), but I would like all names of libraries (hopefully there ...
0
votes
1answer
275 views

sharepoint 2010 rest api javascript error: 5009 sys is undefined

I am running into something that I haven't really seen before, and I have been using this approach quite a bit lately for a variety of pages. SharePoint 2010 javascript using REST API to grab data: ...
0
votes
1answer
1k views

Populate MultiLookupList : Remove Item

On http://weblogs.asp.net/bsimser/archive/2013/02/20/defaulting-values-in-a-multi-lookup-form-in-sharepoint.aspx I found some nice code to pre-populate a multilookuplist (and remove the selected ...
0
votes
1answer
443 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 ...
1
vote
1answer
148 views

Omitting SharePoint Special Character

I am using a SPServices (jQuery Library for SharePoint webservice) to grab list items. I have managed to get the data as follows: <z:row ows_Date_x0020_From="2013-06-03 00:00:00" ...
1
vote
1answer
240 views

Populate a Filter web part from a List item and execute

I have a Business Data Related List called Projects. It is connected to a Business Data Item, so it has the option to select an item (the two-way arrow next to an Item). From this List I need to pass ...
0
votes
0answers
34 views

Removing contribute rights for user on page breaks jquery

I have a problem with a Sharepoint aspx page - I need to remove the Contribbute rights for it (so that the users don't see the ribbon anymore) but when I do this, the following script from its ...
0
votes
1answer
194 views

Possible problem with linked lists and limits of the Lookupfield in SharePoint 2013

I have set up a Parent/Child linked list, each parent item can have multiple different child items linked to it. To connect child items to the parent I use a lookup field on a field on the parent ...
0
votes
1answer
92 views

JQuery Form Query: Setting field entries in accordance to other fields

I have a custom list (serving as a change control form), which I'd like to tweak a little. my Jquery isn't my strongest suit, hance my asking you guys for help. I'd like to ask if it's possible to ...
3
votes
0answers
174 views

Can zRSSFeed handle HTTPS RSS Feed from SharePoint?

I'm working on an internal website for my organization. The Company uses SharePoint to allow orgs to create their own blogs. I created a blog (in addition to a website for my org). I am now trying to ...
0
votes
0answers
434 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> ...