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

learn more… | top users | synonyms

0
votes
0answers
70 views

Text box getting cleared on post back

I have created the textbox in infopath ,Here I have used auto suggest control for a textbox, I will load value and ID in that text box , on selecting a value in auto suggest on the textbox an id will ...
0
votes
1answer
71 views

Create a radio button filter based on “Created Date” attribute using jquery or javascript

I’m currently loading a number of list items through a customised Content Query Web Part. And XSLT attribute associated with each of these items is the Created Date. An example of the mark up ...
1
vote
2answers
1k views

Trying to open a SharePoint List item in Modal Dialog in Sharepoint 2013 Office 365 (online)

Sorry for the long post. This has been killing me. I had this script working perfectly fine in SharePoint 2010 (online) and basically i have a source custom list (list A) with a hyperlink column and a ...
1
vote
1answer
96 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
6
votes
0answers
440 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
0answers
113 views

SharePoint InputFormTextBox returns javascript error while changing its position

I have created one aspx page for implementing the edit comments of the form. For this I am using the SharePoint InputFormTextBox control. I have a total of 4 Divs each containing one InputFormTextBox, ...
1
vote
3answers
361 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 ...
0
votes
0answers
26 views

Jquery Script on CEWP working only on double click [duplicate]

I have a JQuery Script uploaded to the CEWP on the add and display forms of a sharepoint calendar on the add form, the script is working consitantly as expected while on the display, It has suddenly ...
3
votes
1answer
81 views

Removing text 'Folder" from grouped items in a list

I have a simple SP list grouped by folder. So my items appear with the expanded or collapsed arrow icon, the string "Folder :" and the folder name. (Example > Folder : Corporate). I have a request to ...
2
votes
2answers
134 views

How to create a form that populates a list in sharepoint?

I need to create an HTML form with two text boxes and a button that you click the update button it inserts the two values ​​in a sharepoint list. Below an example of what I'm trying to do: // ...
5
votes
2answers
1k views

Adding jQuery to master page

I am trying to customize a Sharepoint 2013 team site. I created a copy of seattle.master and set it as default master page via context menu. I added my custom CSS within head tages like so: ...
1
vote
1answer
68 views

Internet Explorer 11 issue with SPServices

I have created js file which have spservices common function which I am using in my page. Below is the code for one of the function which will use for Add/Delete/Update by sending appropriate ...
1
vote
1answer
572 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
5answers
879 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 ...
3
votes
1answer
74 views

How can I get rid of the columns header when the style 'Boxed' was selected?

I created a new list view with style = 'Boxed' in SP2013. The problem is that this view is showing the columns header in the top when there's no need to do it. So, how can I remove or hide it? I tried ...
2
votes
1answer
69 views

How to add class to list view colum in webpart or hide column

This is Sharepoint 2010. I have a list view webpart(calendar) with title and date. I am using Jquery to filter dates shown (workaround for limitations in filtering on reoccurring event). I need to ...
3
votes
1answer
106 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 ...
1
vote
1answer
154 views

jQuery wait until the page (with several webparts and Ajax controls) loaded

I have a page which has several web parts. In some of them, it has Ajax controls. now, I need to do this: after the page is fully loaded, I want to use jQuery to change some attr for some links (a ...
2
votes
4answers
370 views

Why doesn't jQuery execute in a DataViewWebPart with asynchronous load enabled?

The jQuery scripts I have in a DVWP do not get executed when I enable Asychronous Load in the Ajax Options of the DVWP. They do execute when I disable Asychronous Load though. Any thoughts on this? A ...
0
votes
0answers
36 views

jQuery UI Tab - SharePoint 2010 Designer Page?

I am trying to create a tab using jQuery UI on SharePoint page however could not adjust the text alignment. How do I fix this? <%@ Page Language="C#" masterpagefile="~masterurl/default.master" ...
0
votes
0answers
28 views

Force Postback on a ListForm

I have a jQuery script that toggles some fields on a ListForm. It worked great on my jsfiddle, but when I added the script to a CEWP on the page via the content link, I can tell it's running b/c when ...
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
0
votes
0answers
23 views

Document library webpart loses place when Next page link clicked?

I have a specific requirement where I have to show two libraries inside a folder is in 3rd library. so, what I have done is that added those two library webpart on the Allitems.aspx page of the 3rd ...
1
vote
2answers
166 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
100 views

custom web service with SOAP

I have a requirement to be able to pull data from a repeating table on an InfoPath form and put it into a report. I found a solution file on Codeplex that will read the data out of the repeating table ...
0
votes
2answers
185 views

Listdata.svc and $expand

Normally I would use jQuery to get data from listdata.svc like this: $.getJSON(listUrl, function (data) { $.each(data.d.results, function (i, result) { A ...
0
votes
1answer
118 views

Remove Fly-out Menu from Quick Launch Bar

After hours of research I am not able to find a way to remove the fly-out menu from the quick launch bar without changing the master page. I tried by changing the Tree View settings, as well as quick ...
1
vote
2answers
536 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 ...
0
votes
1answer
27 views

Best approach for a custom workflow

My team will soon be building a workflow for a list in SP2013. The OOB approval workflow provides most of the needed functionality, but we need the approval flow set dynamically based on names ...
0
votes
0answers
131 views

Hide date field in datetime column in sharepoint 2013 with jquery

I have a list in which a Date column is there which is DateTime column. I want to show only time selection field to end user.I am using jquery in side content editor on list page to hide only Date ...
3
votes
2answers
1k views

How to set Taxonomy Control using jQuery

I have a list with managed metadata column. In the new and edit form, I would like to set the value of that field using javascript. Is it possible to set the Taxonomy Control ...
0
votes
1answer
88 views

Call jQuery and other scripts for the entire site collection

I want to be able to use jquery and other javascript files across my entire site collection. If I create a new site, it should already be calling jQuery. I don't want to have to worry about whether ...
0
votes
3answers
143 views

Show progress indicator until last row has loaded into DVWP

I have designed a DVWP in SharePoint Designer 2010 that shows multiple items from a library (let's say it shows 1000 items for example) grouped by category. What I would like to do is show a loader ...
4
votes
6answers
3k views

Setting the value of the textfield in sharepoint list form 2010

I have a textfield in sharepoint list form and I want to set the value using jquery or javascript below is the tag: <asp:TextBox runat="server" id="ff47{$Pos}" text="{@Name}" ...
1
vote
1answer
141 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 ...
0
votes
0answers
29 views

Process Document from SharePoint 2013 Online App Host Site Externally

I am attempting to create a SharePoint 2013 Online App that will process documents stored on the host site collection. I'm able to use jQuery ajax to retrieve a file from the host site collection and ...
1
vote
1answer
241 views

Button to Show/Toggle Sharepoint Ribbon

I would like to add a button to a webpart we have already created that increases usability for our document libraries. I would like this button, when clicked to toggle the standard ribbon that is ...
0
votes
2answers
5k views

How to add jQuery script to a custom visual webpart?

Similar to some previous questions, I'm trying to use jQuery in a visual web part but I keep getting that jQuery is undefined. I've added the jQuery script to SiteAssets as well as a script folder ...
0
votes
1answer
419 views

SP.UI.ModalDialog.showModalDialog IE7 compatibility

I am having a similar issue as the following question: SP.UI.ModalDialog.showModalDialog not working with IE7 The problem is, the resolution to that question doesn't apply to my specific scenario: I ...
0
votes
0answers
31 views

Sharepoint 2010: stop auto-populating of attendees field in new form from weekgroup calendar view

I modified the default view of weekgroup calendar by adding all the team member's calendar on default, using jQuery. The issue is that when the new item form is opened from this view, the attendees ...
2
votes
1answer
213 views

Jquery is not working on IE10

The below script works properly on the firefox and hides the Page Rating & Last modified divs however it is not working on IE-10, am I missing anything? <script type="text/javascript" ...
0
votes
1answer
123 views

How to get the name from a user id

I query a list via jQuery (on the RSS presentation). The content type has one field that is used for a responsible. In the XML returned, only the User ID is supplied. How can I get the name of that ...
1
vote
1answer
53 views

How to get value of multiple list filter webparts

Related to the previous post about accessing a List Filter Web Part value How to get value of List Filter web part in Javascript? How do I get access to the value of multiple list filter web part ...
0
votes
0answers
34 views

Getting updated node information after AJAX call

I am trying to get a list of html elements using jQuery on a Calendar view page. However, since calendar can change months, weeks, etc. asynchronously, how do I get the up-to-date information using ...
0
votes
1answer
365 views

Autocomplete with SPServices

This is my scenario I have a list of clients on the root site collection. www.mydomain.com/lists/clients I have 17000 clients on that list. Then I have other site collections, where I want to have ...
1
vote
1answer
174 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
1answer
252 views

Run JavaScript after “group by” in list has been clicked on and list data loaded

I have created a JavaScript function to take a url from a list item and turn it into an image. This function works great on a list that doesn't have group by setup. With this script the images will ...
2
votes
1answer
171 views

SharePoint 2013 Markup code works inside Placeholdermain but not as code embed in webpart (EmbeddedFormField)?

On SPO 2013 trying to deploy some custom markup code to bind a list Markup code works when placed in Placeholdermain via SPD vs embedding the code Site Page webpart (EmbeddedFormField) I have this ...
0
votes
5answers
2k views

JS/jQuery Check if on root web of root sitecollection

How is it possible to check in JS/jQuery if the user is on the root site of the root sitecollection in the webapplication? (Sharepoint 2010) Thanks! Example: ...
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 ...