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

learn more… | top users | synonyms

1
vote
1answer
533 views

Using REST call to retrieve SharePoint list items as an array of JSON objects

I found this great tutorial to use REST calls to retrieve SharePoint list items as an array of JSON objects posted by Mark.Rackley (Mark Rackley.). It is working, but I would like to add a new ...
1
vote
1answer
103 views

how to display two fields (and their labels) in the same row? Sharepoint

I have two fields in out of the box sharepoint list form , both are single line of text Is there any jquery way in which I can merge the two columns into one row I am a newbie to coding. So I do not ...
1
vote
1answer
77 views

How do I stop jQuery from injecting junk attributes into my HTML

I have an HTML unordered list in a Content Editor web part that I'm formatting as tabs where each has an onclick event to show/hide some other data. The issue is that I'm getting all these weirdo ...
1
vote
2answers
2k views

How to set a value to the taxonomy field using jquery?

I have custom list in which there is one user field and a taxonomy field. I want to populate the taxonomy field value automatically based on the value entered in the user field, the value to be ...
1
vote
2answers
803 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 ...
1
vote
1answer
142 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> ...
1
vote
1answer
123 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
3answers
601 views

SharePoint 2010 web service - GetListItems not working in Chrome & firefox

function GetListItems() { var soapEnv = "<?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>" + ...
1
vote
3answers
428 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
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 ...
1
vote
2answers
459 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 ...
1
vote
1answer
522 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 ...
1
vote
1answer
410 views

__doPostBack disables my jquery code?

I am really struggling with a SharePoint page I am creating which contains a DataFormWebPart which pulls data and displays it in a table. The table has pagination controls like you would expect. I ...
1
vote
1answer
1k views

Use existing Modal Popup

i was wondering is there is a way to use existing modal popup already use by the sharepoint site and override their callbacks ? Thanks
1
vote
1answer
728 views

Opening a webpart from a separate page in modal form

I am an IT schoolboy who is on an 8 month apprenticeship. I have been charged with creating a little sharepoint site for our tiny group in the company I am working at. I have site collection (is that ...
1
vote
1answer
108 views

Input Rich HTML in a Sandboxed Visual Web Part

I'm trying to build a styled web part for adding list items to a list, and I cannot for the life of me find a good control for adding a Rich HTML editor. Has anyone come across this before?
1
vote
2answers
1k views

Displaying other people picker column properties on a view using spquery.js and spservices.js in MOSS 2007

We have a custom list with a person column. Want to display that persons Department on the list view. Possible with jquery/spservices? I have a jquery script that returns the currently logged in ...
1
vote
2answers
610 views

Suggestions for implementing relationships between two lists

Here is what I am trying to accomplish: I want a Sharepoint list(s) that can track received client calls and all follow-up attempts from our staff. What I initially envisioned this would look like ...
1
vote
3answers
374 views

jQuery selector worked in 2007 but not in 2010

$("#aspnetForm").attr('action', newAction); In SP2007 it worked fine, in SP2010 I get the following error in the SharePoint log: System.Web.HttpException: Failed to load viewstate. Can someone ...
1
vote
3answers
877 views

Showing the current user's tasks in a Content Editor Web Part using JQuery

I have been searching this site for an answer but I have been unable to find anything that will work. I have been trouble pulling the tasks of the current user from a subsite. I am using SharePoint ...
1
vote
1answer
358 views

Can we use jQuery functions as web part properties?

I want to build a wrapper web part which will have properties. These properties must be consumed by jQuery functions and support its consumer webpart. Can we do this?
1
vote
2answers
1k views

Can't get jQuery UI to work in my web part!

I have the following markup: <SharePoint:CssRegistration ID="cr_jqui" Name="/Layouts/MultiPart/css/smoothness/jquery-ui-1.8.12.custom.css" runat="server" After="corev4.css" /> ...
1
vote
5answers
924 views

SharePoint 2010 - Content Editor Duplicating Enteries

I'm using jQuery inside of a SharePoint 2010 to create an image gallery. The gallery works perfectly and there are no problems. The gallery is entirely generated using jQuery and all HTML objects ...
1
vote
1answer
2k views

Adding items using SPServices issues

Need some assistance on a bit of JQuery for writing to a MOSS 2007 list. I have the following spot of code. If I run it with just the title field, it works fine, adding additional fields doesn't work. ...
1
vote
2answers
1k views

moss 2007 List Forms - dynamic field logic

I'm using MOSS 2007 for the NewForm.aspx need to implement field logic i.e whether to show certain fields based on the values of preceding fields. I have implemented a similar solution embedding a ...
1
vote
1answer
447 views

How can you add a script reference to a page from a custom webpart?

I'm developing a custom webpart and I'd like to leverage jQuery for some of my client side functionality. I found a few articles that lay out the following technique for adding a script reference to ...
1
vote
1answer
119 views

Anything wrong having a page with Data view webpart with no master pages

I created a page using SDP added some Data view webparts in and it works fine. But when i try to use Jquery it doesn't work. Any ideas why?
1
vote
1answer
1k views

webpart with rounded corners - SharePoint 2010

I'm looking for a solution using Jquery.corners for my webparts to have rounded corners. Any ideas preferable one that doesn't need images. Any ideas and thanks in advance
1
vote
4answers
597 views

Using JQuery to enlarge the text input boxes in SharePoint 2007 Blog forms

I have a site set up as a Blog Template. I want to use jQuery to expand the size of the text boxes for blog posts in both Viewing and Edit mode (and new mode). Viewing mode is easy. I edited ...
1
vote
1answer
56 views

SharePoint Online 2013 Page Code Embed and Javascript - output disappears

I noticed I can't embed inline javascript in an SPO 2013 Web Part page, but can reference a library. I'm outputting a table from that js. If I put alerts that table displays but then disappears ...
1
vote
2answers
59 views

How to run the JS with on() function with Javascript

In the Calendar with Add button, after the JS Calendar starts completely, the HTML below appears and I would like to run my JS with AsynchronousViewDefault_CalendarView attribute. However, it doesn't ...
1
vote
1answer
1k views

Creating dynamic accordion from a custom list using jQuery and jQuery UI in SharePoint not displaying as should

I am trying to dynamically build accordion from list of items returned using JavaScript, jQuery and jQuery UI. Below is my code: <div> Search List <input type="text" ...
1
vote
2answers
66 views

Your query is malformed with a date in where clause

I'm trying to query SharePoint using jQuery and SPServices. When I run the code below, I get the error Your query is malformed. Please rephrase your query. var searchq = ...
1
vote
1answer
199 views

Set value of people picker client side

I'm using SharePoint 2013 people picker client side, how can I set a default user using jQuery?
1
vote
1answer
85 views

Dynamic Left Navigation bar

I need to showcase dynamically newly added list items in the left navigation bar. I have a master list. Please tell me the solution using jquery or server object model In sharepoint 2013, site ...
1
vote
1answer
212 views

Get SharePoint logged username from page displayed at WebPart

I have a webpage hosted in my local server being displayed inside a Page Viewer Web Part in SharePoint 2007. I would like to include a user check inside the pages in my server, so when an user tried ...
1
vote
1answer
169 views

How to use “SPTreeView” in sharepoint hosted app

I am developing SharePoint hosted app. In that I have to use SPTreeView to display root site content in the Tree view form. For the data source I have to use SPHierarchyDataSourceControl. But I don't ...
1
vote
1answer
133 views

Best way to create a page layout like this? Examples given!

I'm looking to make our main SharePoint 2013 page similar to that of t.msn.com. Below are some screenshots. Any ideas or recommendations will be much appreciated. Thanks
1
vote
2answers
291 views

SP13 Accordian View (HTML Script)

I am working with SP2013. My objective is to add an accordion View to a Summary Link Web Part. I added the Summary Link Web Part. Within the Summary Link Web Part, I created groups. Then I added a ...
1
vote
1answer
188 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 ...
1
vote
1answer
254 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 ...
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: ...
1
vote
2answers
871 views

Upload to DocLib with jQuery (and REST) without HTML5

Uploading Documents to SP 2013 with jQuery and REST work just fine (Properties when uploading Files using REST in SP 2013) but these methods require a HTML5 compatible browser. The problem is now I ...
1
vote
2answers
277 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> ...
1
vote
2answers
554 views

Content Editor Jquery working in Firefox not in IE

I'm trying to display an image, content and a link to open new list item dialog box. This is working in Firefox, but in IE it gives the error "wrong number of arguments or invalid property ...
1
vote
1answer
587 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... ...
1
vote
1answer
204 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 ...
1
vote
2answers
445 views

Undefined responseXML on StartWorkflow

I was presented with a task to run a workflow via jQuery. I know that SPServices has this capability, but I have never tried it before being assigned this task. So I set out and found some good ...
1
vote
1answer
739 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
1answer
529 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 ...