Framework for working with JavaScript.
1
vote
2answers
249 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 ...
4
votes
2answers
665 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
3answers
479 views
Open DispForm.aspx on selected list item in a SharePoint list
Is it possible in a SharePoint list to change the function behind the event 'select item' to open the modal dialog with DispForm.aspx?
So in a list, when you click on a item -> the row gets darkblue, ...
2
votes
1answer
195 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
76 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 ...
0
votes
2answers
803 views
jQuery addclass and remove class not updating properly
I have a SharePoint ASPMenu in a MasterPage, I;m trying to change the selected style class using jQuery. Basically when user click a menu item it will cause postback so that the page will be directed ...
2
votes
0answers
194 views
Opening and closing AssetPortalBrowser.aspx in SharePoint model popup
I am trying to open the "OOB" AssetPortalBrowser.aspx from a page within a SharePoint native model popup.
My aim is to get the selected filename back to the script. So far I was able to open the ...
1
vote
2answers
180 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 ...
2
votes
2answers
1k views
How to display a popup message after an item is saved from a custom new form
I have a custome form i built from a list using SharePoint Designer.
I would like a message to popup after the user has clicked the save button.
I have played arounf with presaveaction but no luck.
I ...
0
votes
0answers
114 views
Ecma script sharepoint 2010 issue
how to get all folder in document library with first image url in that folder.
for this i get all folder from document library and then get first file from that library
get all folder and in that ...
0
votes
2answers
130 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
1answer
448 views
How to find a document in a document library using jquery
I have a requirement to check for duplicate documents in the document library. How can i implement this using jquery. Please share the code.
0
votes
2answers
235 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
1k 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
101 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 ...
0
votes
5answers
3k views
Jquery to get list items from sharepoint list
I have a work from my time to use jquery with sharepoint. I have written the code to get list items. When I run in IE it dosen't show any errors to me, but I am not getting the results. Can any one ...
1
vote
2answers
675 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
1
vote
2answers
358 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 ...
1
vote
1answer
140 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 ...
1
vote
1answer
104 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
45 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
114 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 () {
...
0
votes
2answers
539 views
Batch update with javascript client object model?
Anybody know how to do batch list updates with the javascript client object model in Sharepoint 2010? I'm putting the list into an array right now and then a kendo grid is reading it. I can update ...
1
vote
1answer
226 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
78 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
85 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
2answers
1k views
Getting list length from caml query
I am currently trying to determine the length of a list that is located on my SharePoint site. I am using a Caml query to retrieve the items in my list, but I can not figure out how to get the length ...
0
votes
1answer
75 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
1answer
201 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. ...
0
votes
3answers
139 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 ...
1
vote
2answers
597 views
sharepoint document library view to show actual images uploaded
Scenario : Sharepoint 2010 document library.
Users click on 'add new document' and upload a picture (They always upload pictures or images only).
The default view shows the 'Type' and the filename.
...
1
vote
2answers
180 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
262 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 ...
2
votes
1answer
183 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 ...
1
vote
1answer
537 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 ...
2
votes
4answers
3k views
Loading jQuery in the Correct order
I wish to use a jQuery plugin in SharePoint. Currentley I have jQuery added to each page via a custom master page.
<script src="/Style Library/js/jquery-1.6.4.min.js" ...
0
votes
1answer
197 views
Toggling listview web part content source
I'm trying to construct the following user experience. There's a set of links, let's say are in the content editor web part, which control which document library is display below. How would you go ...
0
votes
1answer
219 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
2answers
432 views
referencing jquery in a sandboxed solution
I have a sandboxed sharepoint project, in which I have created a module, put jQuery there and referenced it from my webpart's ascx page like this:
<head>
<script ...
0
votes
4answers
1k views
JQuery in a Visual WebPart won't load on the page with the webpart
Hey I have a bunch of JavaScript/Jquery code that works really well when I use a Content-Editor webpart, but does not execute when I add the same code to the VisualWebPart mark up.
I am referencing ...
0
votes
1answer
824 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 + ...
0
votes
1answer
559 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 => ...
0
votes
1answer
247 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 ...
0
votes
0answers
69 views
Jquery Pagination in a SharePoint article publishing page layout
I am trying to implement pagination in a sharepoint publishing article page layout, whereby users can click on next or previous button for the next or previous article within the pages library.
I am ...
0
votes
2answers
96 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
64 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
129 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
283 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 ...
1
vote
3answers
273 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 help ...
0
votes
0answers
26 views
Retrieve name of selected/clicked item of a custom list using jQuery
How to retrieve the name of selected/clicked item of a custom list using jQuery.


