Framework for working with JavaScript.
2
votes
3answers
553 views
Can a web part prevent master page jQuery from executing properly?
I'm including jQuery and a custom .js file into the master page of my SharePoint 2010 site. In the $(document).ready() function, I'm setting a live event handler on an element in the header of the ...
1
vote
1answer
966 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
299 views
Using Sharepoint Modal
we are implementing a feature in sharepoint where the user can share documents, we are reworking our own UI to make it easier for the end user. We have a modal popup where you can select multiple ...
0
votes
1answer
124 views
Sharepoint Column Totals to User - Value defined by status
So I have two list databases.
User Points
User Submissions
These two databases work together. A user 'submits' for points in a status of 'submitted'/UserPoints[PendingPoints:Column] once 'approved' ...
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
2answers
1k views
How can I retrieve list items from a subfolder using spservices?
I have a document library with subfolders containing images. I'd like to traverse the subfolders and grab the URLs of those images so that I can display them on my little js web app I'm whipping up.
...
0
votes
4answers
385 views
How to know if JS file has been registered in a visual web part?
Let me explain the situation:
I have a Sharepoint 2010 solution in VS that contains:
Some Model classes
A LINQ-to-SQL data context
A WCF REST service
3 Visual web parts
The web parts calls some ...
2
votes
1answer
4k views
Where to put javascript files, problem with _layouts
I'd like to add jQuery and SPServices.
I added the following code:
<SharePoint:ScriptLink runat="server" Name="/Style%20Library/Scripts/jquery-1.7.2.min.js" ...
0
votes
1answer
758 views
Custom WCF service in Sharepoint 2010 returns 401 Unauthorized
I've followed this guide to create and deploy a custom WCF service in Sharepoint 2010 to be consumed in a Visual Web Part using jQuery.
The WCF service's method does several things:
Make use of ...
0
votes
1answer
388 views
Soap, Jquery, Ajax and an Error
Ok, here is what I am trying to do. I have a list on another site. I have successfully connected to the site and pulled in the list as a dropdown using soap, ajax and jquery. However, once I try ...
0
votes
2answers
599 views
Jquery autocomplete not working in chrome [closed]
I have added these script inside webpart and added this inside webpart page. Its working fine in IE but not working in chrome.
<script src="/_layouts/scripts/jquery-1.7.1.min.js" ...
0
votes
3answers
880 views
Override Top Navigation Hover Effect
I would like to add some JQUERY effects to my top nav when a user hover overs the top link..specifically a delay and slideDown with easing effect. Is there a way to simply override the existing code? ...
1
vote
1answer
280 views
How do I trigger off of the ribbonbar being shown/hidden?
When the ribbon bar is visible (i.e., not in Browse mode), I want certain things to happen on my page (mostly involving changing styles of some items). How do I determine if it's visible or not or ...
0
votes
1answer
2k views
Using jQuery add cascading dropdown to newform.aspx page of list
How can I add cascading dropdown to newform.aspx page of list using jQuery.
I tried SPServices from codeplex but it's not working. Can anybody please guide me.
Thanks
0
votes
2answers
551 views
Remove Duplicates in DVWP using JQuery
I am using a linked datasource in MOSS to create a dynamic table of contents page based on a metadata associated with files in a document library. The library contains multilookup columns for the ...
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
1k views
How can I pass a Query String variable into the CAML of a jQuery script?
I'm using Marc's SPServices jQuery library - the SPFilterDropDown script - to filter the items in a Lookup multi-select field on a New Item DVWP. It works fine if I stick some static text in there - ...
0
votes
2answers
795 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 ...
1
vote
1answer
531 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 ...
0
votes
1answer
509 views
On a SharePoint list view with filtering, I want to apply jQuery to the filter list, which isn't built until the user clicks the menu
This project is in MOSS, using jQuery 1.6.1.
The basics of what I need: When the user filters on a date field, the value of the filter option needs to be "yyyy-M-d" while the text is "M/d/yyyy."
...
0
votes
1answer
991 views
Retrieving and displaying custom list column names (which have spaces in them)
I have been to Jan Tiernans blog, and figured out how to grab column names using Soap and jquery/jscript. I can't figure out how to grab custom columns with special chars though.
I have read about ...
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.
...
0
votes
3answers
540 views
Jquery/Javascript hyperlink Mouse over hyperlink
I have a hyperlink and whenever I do a mouse over it should show other www.abc.com page.
Eg: <a href="www.xyz.com">Title</a>, on mouse over it should show www.abc.com page. '
I ...
8
votes
6answers
3k views
Risk of conflict between jQuery document ready and _spBodyOnLoadFunctionNames?
I recently read in the jQuery documentation that:
The .ready() method is generally incompatible with the body
onload attribute. If load must be used, either do not use .ready()
or use jQuery's ...
0
votes
1answer
132 views
Looking to add a cewp to bottom of welcome page that shows pictures from library - jquery
I have been asked to set up a SP site at work. I have site collection priv. with no access to SP designer. I have looked around on the internets for a way to make a cewp that would display 4 or 5 ...
0
votes
2answers
2k views
SharePoint Cross Domain Request with jQuery
I've been going around in circles for a couple hours now to no avail. I had thought that what I wanted to do was not possible but some threads that I was reading on SO were saying otherwise so I ...
1
vote
2answers
471 views
Referencing jQuery from Masterpage and WebPart
I am referencing jQUery from my MasterPage as follows:
<SharePointWebControls:ScriptLink runat="server" Name="/_LAYOUTS/myprojIntranet/js/jquery-1.7.1.min.js" Localizable="false"/>
And in my ...
1
vote
2answers
252 views
Content Rotator to display latest posts only
I am looking at AnythingSlider and a custom content slider and was wondering if these tools allow me to display most recent content only. For a news rotator I only want to display top five news from a ...
0
votes
1answer
995 views
How can I display checkbox or radio button choices in a Choice field vertically?
I have a list with SharePoint 2007 with a Choice column that I'd like the choices to be displayed vertically (every 2 or 3) instead of horizontally. Is there some JavaScript/jQuery I can utilize to ...
0
votes
1answer
5k views
Setting the value of a lookupfield(sharepoint dropdown formfield) in sharepoint 2010 list forms
How can i set the value of sharepoint form field dropdown box(lookupfield) in sharepoint list form when the form gets saved (using jquery)
note: the lookupfield (dropdown formfield renders as input if ...
2
votes
5answers
2k 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}" ...
2
votes
1answer
2k views
Dropdown lookupcoloumn in sharepoint list form (newform.aspx)2010
I have a dropdown lookupfield in newform.aspx sharepoint form...unlike choice dropdown the lookupdropdown is 'input' field and not 'select'..
so i raise an onchange event using jquery
...
1
vote
2answers
2k views
setting current date time in sharepoint form field (newform.aspx) sharepoint 2010
I am working on customizing the sharepoint list form (newform.aspx). So soon as the user opens the new form I want the Odate coloumn (date and time) to be filled automatically with the current date ...
7
votes
4answers
919 views
Add jQuery in Sandbox mode (Office 365)
What would be the best approach in using/including jQuery in Office 365? Should I just use google CDN or is it possible to deploy the jQuery file to the server?
Is there any good articles/resources ...
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" ...
1
vote
1answer
2k views
Refresh web part without refreshing page [duplicate]
Possible Duplicate:
Refreshing custom developed web part
I have a custom web part that displays items from a list. A user can select an item and edit the metadata on it. I want to refresh ...
3
votes
1answer
108 views
Activating programmatically custom script on page load
I have small problem. The thing is I need to have a method on page load that will execute one script only if web.allProperties has one property, but I dont know how to call that script?
So this is ...
0
votes
1answer
750 views
sharepoint 2010 search.asmx query Problem
I use below query for people search in sharepoint 2010 using jquery
SELECT PREFERREDNAME,FirstName,LastName,JobTitle,Department,Email,WorkEmail,WorkPhone,Skills,PictureUrl,Path,Rank,MobilePhone FROM ...
0
votes
1answer
196 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 ...
2
votes
3answers
5k views
How to get TD cell values using jquery from a Data Webpart
I would like to get the text from the first and second TD which has the class user and id
<tr class="rowid">
<td class="user">A</td>
<td class="id">B</td>
...
1
vote
2answers
596 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.
...
0
votes
1answer
990 views
How to load div like iframe with a url with parameters(Loading external data to a cell)
I would like to show a status in field but the result data is from an external link which means another sharepoint list.
I'm using something similar below but not sure if this is the best way to do ...
3
votes
1answer
207 views
Compressing or stop rendering of JS files from SharePoint on mobile devices
I have costumer who is complaining about massive data traffic on their mobile devices when they enter their website from their cellphones or tablets.
When we made the site in the beginning, we made ...
1
vote
0answers
3k views
How to use SPServices jquery to add new item
I have a list and I would like to have a link on each item (dynamic) that I can click to insert some data to another list.
What I'm after is to get some data when a user clicks an item. (Kind of to ...
0
votes
2answers
324 views
Add Timespan to DateTime Column via SPServices (jquery)
I want to increase and decrease a DateTime column from a specific list with jquery and SPServices.
Normaly I should first receive the original datatime and then add the timespan and after that save ...
3
votes
3answers
899 views
using jquery and search.asmx service search People in sharepoint 2010
Hi i use below code for Getting people Search. Using below code I am able to search but getting only user name and User my site url.
I want all user profile Property.How I get all user Property using ...
2
votes
2answers
2k views
Scroll position in Sharepoint 2010?
Do you know a way to find out a scroll position in JS or jQuery on a page in Sharepoint 2010? I have a web part that is very big (high) so scroll on the page appears. But I cannot determine the scroll ...
0
votes
1answer
210 views
Count Words For the SharePoint List Item
I need to count the words of SharePoint List Item. I have used code, but it shows me only 0 words though I type several words. When I used an alert for holdtextvalue it shows me blank value. Can ...
4
votes
1answer
477 views
How to call jquery method in different page event like pageload, ispostback, page refresh, onsubmit
In my master page I am calling the jquery method on pageload event. It will do some truncation operation in a SharePoint page. The problem is, if I have add new item to the SharePoint form and if I ...
2
votes
1answer
151 views
Count Number of Words existed in Word Document
Hello Group members,
I have a document,Where When I upload the document in document library or in List then I need to count the total number of words existed in Word Document ...
