Framework for working with JavaScript.
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.
...
1
vote
2answers
172 views
How do I create dynamic infographics in SharePoint?
I'm looking to add a dynamic infographic with the ability to update it using a SharePoint data library or list. Has anyone accomplished this (that is easy or quickly updatable). For example, I want ...
1
vote
2answers
375 views
Jquery in Sharepoint 2010 not working for all users
I have a very strange problem where there is some custom jquery interface buttons to show and hide certain fields in sharepoint. The script builds fine(script that has worked on previous sites) but ...
1
vote
2answers
1k views
SPServices GetListItems don't work most of time
I'm using SPService in a list for take some information from an other list.
It works just sometimes... I need to refresh lot of time before it works ....
Here is my code :
<script ...
1
vote
1answer
684 views
Loading script on every postback
I am trying to load a script (that remembers the clicked nodes for a xsltlistview in a jquery cookie) on every postback.
The events when i postback should be:
1. save clicked nodes in cookie
2. ...
1
vote
2answers
183 views
Re-executing JQuery Function on List Manipulation
I have the following JQuery code entered into a content editor web part which does some conditional formatting on the table cell of a list. The trouble with this is that it executes fine on document ...
1
vote
2answers
443 views
Accessing list data from another site collection or web application using REST services?
I have a list (Links template) of URLs that is on a site collection and I was wondering if it is possible to include this list as a jQuery megamenu on another site - ideally another web application on ...
1
vote
1answer
298 views
CAML query and jQuery to retrieve last item's fields
I want to get list item fields where its the last item that the same user created.
Then I want to populate the newform.aspx with some of these items.
I'm mainly stuck with the query and how to write ...
1
vote
1answer
444 views
Content slider in jQuery doesn't function properly in webpart
I have created a test HTML page that contains the code for the web part in question. From the test page, I can use the scrolling feature just fine as it works as expected. When I take the same code ...
1
vote
1answer
588 views
RTE markup and Page Layout javascript error
Okay, so I have been running into this issue way too often now and it's starting to really irritate me and I have no idea what triggers these errors.
I have made a custom masterpage for my SharePoint ...
1
vote
1answer
2k views
Getting 401 error when connecting to the list.asmx web service using JQUERY
I'm attempting to do a pretty straightforward query to the list.asmx web service and I keep getting a 401 error. I've spent a couple of hours attempting to solve it with no luck.
My jQuery Code:
...
1
vote
3answers
801 views
How to get a value dropdownlist selected after using windows.location
This is my snippet code here.I'm getting some column values from shrepoint list to a dropdpwnlist.But i would like to append the values to a url when an option is selected.
So thayt i can use it to ...
1
vote
2answers
436 views
What are some best practices when using jquery for Autocomplete with ashx?
After doing some research I saw some examples using jquery's .ajax function and webmethods for autocomplete with ashx in Sharepoint.
...
1
vote
3answers
478 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, ...
1
vote
1answer
355 views
How to handle the ecb menu CSS?
I have hidden the ECB menu from the task/DocLib lists, and I am using jquery to truncate the title field into 50 char and remaining will be displayed in the jquery popup. Even though I have removed ...
1
vote
1answer
2k views
Parsing SPServices' GetListItems data
I'm using SPServices with jQuery to collect data from a Sharepoint 2010 list for use in a standalone Javascript powered web application.
EDIT: I've found a little more out while investigating this - ...
1
vote
1answer
623 views
How to make jQuery AJAX request with a HTTP Handler in SP10?
I'm developing a SP 2010 Visual Web Part that needs to load some data via AJAX.
I found this very helpful article but I'm having some doubts about it.
I have the Visual Web Part project, inside I ...
1
vote
1answer
231 views
how to identify webparts by their element in the DOM
I'm working on some DOM scraping in SP and I want to tighten up my logic around web-parts. Namely, is it safe to say that anything with a attribute of 'webpartid' is a webpart?
Some sample ...
1
vote
2answers
278 views
Confirmation box on cancel button and cross (rigth hand corner)
Whenever I leave a page as in exit the page like click the cross button or cancel button it should ask for confirmation -Do i want to navigate from the page(Yes/No)
If No, it should remain on the same ...
1
vote
1answer
81 views
Insert document type in XSLT
I have an XSLT that transforms a picture library and turns it into a jQuery galleria control. I can make it work in a standard html page, but I have the need to put it in a Sharepoint 2007 web-part, ...
1
vote
1answer
506 views
Why is the TaxonomyClientService.asmx service returning escaped XML for my result?
I was able to sucessfully call the service but when I get my results back it looks like this (see the GetChildTermsInTermSetResult node):
<?xml version="1.0" encoding="utf-8"?>
...
1
vote
1answer
382 views
Highlight Group By Row in SharePoint List
I've got a dashboard on my SharePoint Homepage that shows a RAG status of all our project tollgates, grouped by (a) category then (b) project.
Is there a way to highlight a group by row in a list ...
1
vote
2answers
1k views
Security warning for JavaScript and CSS file?
I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net + JavaScript (jQuery).
I met with the following ...
1
vote
2answers
35 views
Prevent/override standard Modal Dialog close button(X) from closing
I want to validate custom modal dialog form and if its not ok, prevent form from closing.
For this purpose, I attached to X-close-dialog-button. Problem is to prevent it's default behavior.
function ...
1
vote
1answer
49 views
Hide fields on NewForm.aspx and EditForm.aspx based on the current user's membership in a SharePoint Group
I have found a number of recommended ways in blogs looking to answer how to do this and have not successfully made any of them work using SharePoint MOSS 2007 and SharePoint Designer 2007.
I have ...
1
vote
2answers
176 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
2answers
54 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 ...
1
vote
2answers
47 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 ...
1
vote
4answers
481 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.
...
1
vote
0answers
88 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 ...
1
vote
1answer
106 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?
1
vote
0answers
115 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 ...
1
vote
1answer
327 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
199 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 ...
1
vote
0answers
464 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
1answer
120 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
0answers
63 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
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 ...
1
vote
0answers
74 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 ...
1
vote
1answer
531 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 ...
1
vote
1answer
261 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 ...
1
vote
2answers
357 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
144 views
How do I change the href destination of a link in a list using jquery?
I have been trying to edit links within lists to change their overall functionality, but have had no luck with changing any property of the links' functions. The properties I have tried to change ...
1
vote
1answer
2k views
jQuery to modify SharePoint 2010 Column Width
SharePoint 2010 - I have a Standard Task list in Gantt View that represents a list of projects (Sync from Project 2010). Since the column widths are not-persistent in SharePoint, I wrote a script to ...
1
vote
1answer
341 views
Set data to Sharepoint Gridview from List and remove appropriate selected columns
I am using c# and I have a SPList with fields such Title and Translation. I want to set Word and Translation into SPGridview.
I can retrieve data from my List:
string translation = ...
1
vote
0answers
170 views
How to get lookup field text column to display as an image in a view?
Wonder if anyone can help. I want to add a category choice field to a SP2010 Announcements list. The category choice is a lookup field to another list. The other list contains the categories and a ...
1
vote
1answer
195 views
Filter a list by a value in a User's profile
I would like to replace the functionality of the Current User Filter of SharePoint Server 2010 enterprise. I think I might be able to use SPServices.SPGetCurrentUser but I am unsure if it is ...
1
vote
0answers
201 views
How to get column data value in an array using Javascript (No .Net coding)
I am working on Sharepoint 2007 and I have a Sharepoint Document library having 3 columns namely : Type, Name, Modified BY. Column "Name" is having all the folders inside it. On clicking the folder, a ...
1
vote
0answers
860 views
set multiselect lookup column using jquery
I have a Multi select Look up column which as you all know is a control with two list boxes and "Add or Remove" Buttons.
The user populates the right-hand side of the control with some values by ...
1
vote
1answer
583 views
sharepoint 2010 upload file to document library using jquery
Hi all using jquery i want to upload file to solution gallery.
so is that possible to upload file in solution gallery using jquery.
how?
another thing is it possible to upload file in document ...


