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

learn more… | top users | synonyms

0
votes
1answer
143 views

SharePoint; Javascript repeating click event already on page

I have a SharePoint calendar, and I've got some Javascript code to force a calendar overlay event to open in a modal dialog. Basically, it forces them to open in a modal dialog via this code: ...
1
vote
1answer
730 views

web part jquery ui dialog not working

I am working on SP2010 with visual web part in C#. I have added one form dialog using jquery-ui. When I use it directly from .ascx, its working. But when I am calling it from code behind, its not ...
1
vote
2answers
614 views

Cascade dropdown for multi select fields

I have successfully implemented the SPServices JQuery open source solution but unfortunately it doesn't seem to support multi select fields (I mean the ones where you can enable "allow multiple ...
0
votes
2answers
595 views

Autocomplete Textbox from Active Directory Users

Im making a webpart where a user should be able to add other users from active directory, without being able to know their full name etc. The field should be autocompleted in some way (like googles ...
0
votes
1answer
510 views

How to Customize Mobile View or Integrate Jquery Mobile into an already made SharePoint 2010 public facing site?

I'm very new to SharePoint Development and need some instruction or direction on how to customize the mobile view or use Jquery mobile on a SharePoint 2010 public facing site. I have been tasked with ...
3
votes
2answers
2k views

Disable a form text field with jquery in CEWP not working in Chrome/Firefox

I want to simply disable a text field (specifically a "person/group" field text box) from being editable on the edit form page of my list item. I have it working in IE using a Content Editor Web Part ...
1
vote
2answers
89 views

How to hide particular SharePoint post use checkbox?

How can I hide my particular post in Sharpoint blogs, if I use checkbox field in post list by using javascript or jquery ? please if some have an idea ,please help me to resolve it. will great ...
0
votes
1answer
57 views

Hide navigation until all items are populated

I created a customized nav using the Sharepoint aspmenu with simple rendering which binds to an xml datasource to render the menu contents. I am then using a the jquery UI accordion to style it. The ...
0
votes
2answers
282 views

adding Jquery to Sharepoint 2010

I would like to add Jquery Accordion code for Sharepoint 2010. I have added jquery-1.9.1.js & jquery-ui.js file in _layouts\JScript folder. Now I want to add below code sharepoint designer. ...
1
vote
1answer
528 views

Designer Workflow: change document file extension upon upload

So I would like to try to create a workflow on a library that simply checks to see if the file extension is anything other than .xml, and if it is, rename the Name (File Name) to the same value with ...
0
votes
3answers
5k views

Get value from drop down using jQuery (lookup column)

I feel like this should be an easy one but am having trouble finding the answer here and via Google. Using jQuery, how do I retrieve the currently selected value from a dropdown in an ...
0
votes
1answer
113 views

Content Type Prompt in List

I have a list that has multiple content types in a SPF2010 environment. The manager of this list is familiar with using the New dropdown menu in the ribbon bar to select a content type, but he is ...
0
votes
2answers
4k views

jQuery accordion for the Quick Launch in SP2013

EDIT I improved the answer and created a blog post about it here. I followed this post in order to add the jQuery accordion functionality to the Quick Launch in SharePoint. While the code in the ...
1
vote
2answers
174 views

Site Permissions With Custom Navigation

I recently edited my organization's intranet site by creating a JavaScript file which utilizes jQuery v.8 and jQuery UI. My custom JS creates an unordered list with site navigation that has drop ...
0
votes
1answer
235 views

Best/Simplest Way to Implement Custom Button on List/Library?

I've removed most of the default elements with the following: <style type="text/css"> #s4-ribbonrow, .ms-cui-topBar2, .s4-notdlg, .s4-pr s4-ribbonrowhidetitle, .s4-notdlg noindex, ...
2
votes
4answers
5k views

Jquery is not firing on Page load SharePoint 2013

I have the following code (function ($) { $(document).ready(function () { // Ensure that the SP.UserProfiles.js file is loaded before the custom code runs. ...
0
votes
1answer
478 views

Load SharePoint 2010 page into another HTML page with jquery

I have an issue where I need to load a piece of my SharePoint 2010 site (header, navigation/search) into another .html page. In general, I want it to look like the following: <!doctype html> ...
0
votes
1answer
71 views

Catching query suggestions dropdown value

next to search box there is a dropdown containing query suggestions (everything, people, ...). How can I catch the value of this dropdown (it is div.s) in Javascript (jquery). Also I want to know ...
1
vote
0answers
171 views

update xml file within doc library using jquery ajax

I can read values from xml files that are posted within a document library using jquery ajax, but can I update those values then save/post them back into the document. i.e. can I update the contents ...
0
votes
1answer
116 views

Hiding “half” of the New button in the SharePoint ribbon

I built a calendar with multiple content types. What I'm basically trying to achieve here is to force a user to choose from those content types when creating a new item instead of defaulting to the ...
0
votes
1answer
165 views

Only View Document Library + should not be able to open document

I have a requirement for a set of users on the site to have permission level. When these users open the document library, they should see only metadata columns and title without the hyperlink or ECB ...
0
votes
1answer
626 views

Vertical image slider with jquery

I have a ticker news with vertical sliding. I need to slide both images and text along with it, which is coming from a single list. How to give the image source in this jquery code? The image is a ...
0
votes
1answer
138 views

Hide 'View Item' link in preview window in sharepoint asset library

I need to hide 'view Item' link in pop up (shown below) from preview window. I uploaded a video in asset library. As per requirement users should not download videos from library. How to hide or ...
1
vote
3answers
745 views

SPServices/JQuery How to Detect If The Current User Is System Accout

I need to detect if the current user is system account. With SPServices i can find user login name: var thisUserName = $().SPServices.SPGetCurrentUser({ fieldName: "Title", ...
-1
votes
1answer
196 views

Display Calculated column in List NewForm

How to display Calculated column in SharePoint List NewForm.aspx?
1
vote
1answer
768 views

SharePoint DateTime field as Read-Only

How to make SharePoint DateTime field as Read only in NewForm.aspx? I'm using the below script to make DateTimeColumn as read only. It's working fine in firefox & not in IE9. Calendar icon ...
1
vote
1answer
166 views

SharePoint DateTime format as DD-MMM-YYYY in List NewForm

How to bring the DateTime format as DD-MMM-YYYY in SharePoint list NewForm.aspx?
2
votes
1answer
218 views

Jquery adds Multiple attribute IDs to Content Editor web part source

I’m currently performing a migration of our CMS from MCMS 2002 to SharePoint 2010. One of the MCMS templates allowed the users to add their own CSS and scripts. So that the scripts and styles are not ...
2
votes
1answer
673 views

ECMA/js CSOM retrieving items from multiple lists with async processing? how?

I am struggling with javascript and learning callbacks, and applying this to SharePoint 2010 specific js/jquery methods of getting and savings values from lists. So I am recently getting into the ...
0
votes
3answers
756 views

jquery client object model to return json: what about caml vs. js filtering?

trying to learn client object model (ecma/js/jquery) approach to returning json data and working with that. below I will supply a quick example, but my question is basic context of how would I go ...
1
vote
1answer
858 views

JQuery Ajax Post method not working with Sharepoint 2010 URL

I'm trying to send some data to an aspx page by clickin on button but it doesn't seem to work by using jQuery Ajax Post ,however if I just chage the ajax type to GET it works fine ! but I do really ...
0
votes
1answer
3k views

Jquery + Instant Search / Filter of a list

I've seen a clip on bentedder.com where this developer got instant search (filter) to work within a webpart list view. I find this may be very useful for general 911/411 annoucements and archive if i ...
0
votes
1answer
177 views

Object Expected error in Non Edit Mode only

I have an issue with Javascript errors (Object Expected) in normal mode while it works in Edit mode. Its failing on the last line shown below. $(document).ready(function() { updateListItem(); }); ...
0
votes
3answers
2k views

'SPServices' is null or not an object

I need to find out if logged in user belongs to a specific sharepoint group (2010). I am using below code to get it. but getting javascript error as 'SPServices is null or not an object'. ...
2
votes
1answer
175 views

How to create custom email notifications (folder specific) in a document library?

I have a SharePoint 2007 site which has a document library with several folders. My requirement is that whenever an item is uploaded to a folder, SharePoint should automatically generate an email ...
2
votes
2answers
3k views

jQuery - How would you display / hide content with a radio button based on a date?

I current have a list of items being pulled through in a Content Query Web Part. Onload, I would like to display the items from today onwards, and for this to be a radio button selected onload. The ...
1
vote
0answers
147 views

Make Webpart connections to work when a dropdown value is changed

I have a simple newform.aspx which has Employee as a textbox. During onload of the page, I assign this with currentuser. On the same page, I have a webpart created using sharepoint designer that ...
2
votes
1answer
613 views

How can I get specific SharePoint site GUID using javascript/jquery

For example: I have a site under this url: http://intranet.contoso.com/news When I open it i would like to read it's GUID for future use in my custom AssetPortalBrowser.aspx url picker. Thanks!
2
votes
1answer
212 views

Images library view and jquery

I have image library that is provisioned by publishing feature, I added the view of this library to the page which contains my custom web part with jQuery After this I have an error TypeError: ...
2
votes
3answers
3k views

Remove ribbon entirely on certain page?

Can this be done with SharePoint Online? Failing that, for an entire site? Thanks.
1
vote
1answer
729 views

Create Publishing Page using Client Object Model (Jquery)

I am trying to create a publishing page (site page) using SharePoint 2010, Jquery, Client Object Model. Any reference or help will be appreciated. Let me know if any more details are required.
1
vote
1answer
452 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
254 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
428 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
653 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
235 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
339 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
426 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
115 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
116 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 ...