Framework for working with JavaScript.
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" ...
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 ...
2
votes
2answers
391 views
Popup to allow emailing of current URL
I'd like to implement an email icon on the pages of our SharePoint 2010 site collection; when the user clicks it, a Lightbox-style popup allows the user to email the current URL with a custom message ...
2
votes
1answer
345 views
jQuery cascading dropdowns and Word
If a user clicks on New from a document library then a word template opens with metadata in the header section, will the SPServices jQuery cascading dropdowns work in the word's header? I doubt it. If ...
2
votes
2answers
1k views
Include jQuery and plugin script in MOSS site master page
I was looking at potential ways to include jQuery and Paul Grenier's Accordeon Quick launch ...
2
votes
6answers
3k views
How to update multiple ListItems with a “Where Clause” using SPServices?
I've searched the jQuery SPServices code examples and MSDN references for an simple example how to update several ListItems using a Where-Clause.
Code for updating a single ListItem with ID = 500, ...
2
votes
1answer
43 views
jQuery not loading in sharepoint 2010 asp.net page
I am making an visual webpart in Sharepoint 2010, and I am trying to load my jquery files in the ascx page.
Near the top of the page I have this:
<SharePoint:CssRegistration ID="jquery_css" ...
2
votes
2answers
107 views
How to duplicate a question in a survey?
We have a survey that has 10 main questions. All of these questions are unique. After each question, we want to show last year's average answer to the same survey question. We're able to insert ...
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
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 ...
2
votes
1answer
3k views
Expand/collapse all grouped items in views of a page
Is there a way to add a button to a SharePoint 2010 page to expand all grouped items in all the list views on the page? This is the first (top) level grouping only, not the second level. These are ...
2
votes
1answer
543 views
Error on page when using an iframe in a Content Editor Web Part
I am trying to set up on iframe on a SharePoint 2007 page that will show the most current project report uploaded to a document library. Here is my code, inserted into the page in the source of a ...
2
votes
1answer
532 views
Can I use asp.net web service in Sharepoint project?
I had create .asmx webservice in asp.net projects. my doubts that is this able to use this webservice in sharepoint project?
suppose this is my code
source: function (request, response) {
...
2
votes
2answers
551 views
Remove alt tags from Calendar
Has anyone been able to successfully remove the alt tags/(hover text) from events in the sharepoint 2010 calendar. I am trying to use Jquery to strip them out, but am having no success.
I have even ...
2
votes
3answers
337 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 ...
2
votes
1answer
192 views
Images library view and jquery
I have image library that is provisioned by publishing feature, I added the view of this library to the page which contains my custom web part with jQuery
After this I have an error
TypeError: ...
2
votes
3answers
330 views
Remove ribbon entirely on certain page?
Can this be done with SharePoint Online?
Failing that, for an entire site?
Thanks.
2
votes
1answer
94 views
SharePoint - jQuery - Click a box to increase height and reduce other open boxes
I have a list with several list items.
Each of these items have been styled through XSLT and CSS as boxes with content in them.
The Content Query Web Part is displaying this information.
When I ...
2
votes
1answer
462 views
Interesting trouble with getlistitems not returning list items
I'm a bit new to spservices, and I hope I'm not asking a question that's already been answered. I've checked and haven't been able to find one like it.
I'm using GetListItems to retrieve url's and ...
2
votes
1answer
571 views
XsltListViewWebPart remembering state in cookie not working properly
I have a XsltListViewWebpart that shows a tree structure with nodes. I made a jquery script that sets a cookie which persists the state of the nodes (expanded/collapsed) between postbacks.
I added ...
2
votes
1answer
2k views
SPServices: trying to learn how to use this and jquery, help with example
So I am trying to learn these both as I read nuthin but great things all over the place about them.
So this is what I have from example on codeplex:
<script type="text/javascript" ...
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
...
2
votes
3answers
417 views
What is the best method to retrieve the value of “Sum = ####” from List View using jQuery?
Here's a little challenge for you SharePoint and jQuery experts. I have an out of the box list view in MOSS where I total one of the columns as a "Sum" so that at the very top of my list I have "Sum = ...
2
votes
3answers
344 views
How to change the href for a hyperlink using jQuery:Error href is null
I'm trying to get to the default home link(href) on my sharepoint site using jquery but i keep getting href is undefined.
I would like to change it to another URL
I have tried
alert($(".static ...
2
votes
1answer
209 views
Deleting Dead User Accounts from Sharepoint Alerts,Assigned to E-Mails ,Workflows
how delete Dead User Accounts from Sharepoint Alerts,Assigned to E-Mails ,Workflows.
2
votes
1answer
161 views
jQuery Script causing errant Page group to not load
In my attempt to present multiple list data, I have ventured into the territory of the DVWP.
I have three lists A, B, C. Each of these lists are interrelated. When click the title from List A, I ...
2
votes
2answers
266 views
Disable a form text field with jquery in CEWP not working in Chrome/Firefox
I want to simply disable a text field (specifically a "person/group" field text box) from being editable on the edit form page of my list item. I have it working in IE using a Content Editor Web Part ...
2
votes
1answer
167 views
Jquery adds Multiple attribute IDs to Content Editor web part source
I’m currently performing a migration of our CMS from MCMS 2002 to SharePoint 2010. One of the MCMS templates allowed the users to add their own CSS and scripts. So that the scripts and styles are not ...
2
votes
1answer
181 views
ECMA/js CSOM retrieving items from multiple lists with async processing? how?
I am struggling with javascript and learning callbacks, and applying this to SharePoint 2010 specific js/jquery methods of getting and savings values from lists. So I am recently getting into the ...
2
votes
1answer
184 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 ...
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 ...
2
votes
1answer
744 views
Is there any rule that says when SOAPAction is REQUIRED in the setRequestHeader?
Is there any rule that says when SOAPAction is REQUIRED in the setRequestHeader?
In my jQuery library (SPServices), I've been including the SOAPAction for every Web Service call. It turns out that ...
2
votes
2answers
47 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 ...
2
votes
1answer
53 views
How to create custom email notifications (folder specific) in a document library?
I have a SharePoint 2007 site which has a document library with several folders. My requirement is that whenever an item is uploaded to a folder, SharePoint should automatically generate an email ...
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 ...
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 ...
2
votes
1answer
459 views
Calling Upload Dialog with javascript, can I pass value through to the edit form that follows?
I have a button that opens the upload dialog from a page using the below approach:
function openUploadNewDocumentDialog(passingID)
{
var dialogOptions = SP.UI.$create_DialogOptions();
...
2
votes
2answers
368 views
sharepoint 2013 / bootstrap.js / only working in edit mode
I am trying to get the twitter bootstrap framework running on our sharepoint 2013 intranet page. When I'm editing the page, the code is working as expected.
After saving the web part page, the ...
2
votes
1answer
115 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 () {
...
2
votes
2answers
936 views
Custom Content Query Web Part in a Sandbox Solution
I am looking to create an "image slider" web part for my SharePoint 2010 site home page to display a nice glossy roll-up of our recent news articles. There are literally hundreds of jQuery plugins ...
2
votes
1answer
311 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 ...
2
votes
4answers
429 views
Generating a CSV file
I'm using a DVWP in MOSS 2007 to display some data and using a jQuery library called table2CSV to be able to allow users to export the data on a button click. This is all working fine, the data is ...
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
3answers
215 views
Any good books on SharePoint interact with JQuery?
Any good books on SharePoint that interact with JQuery?
1
vote
3answers
826 views
jquery and javascript : can i get the last ID from document library?
Is there a way to get the last ID from a Document Library with javascript/jquery?
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 ...
1
vote
3answers
3k views
List driven Scrolling Marquee
I had a friend ask about this and I wasn't sure so I thought I'd test your metal.
What would be the best route for applying a scrolling marquee to a page that is list driven? Perhaps the better ...
1
vote
1answer
138 views
Can 'jQuery' & 'Javascript' coexist? [closed]
I am planning to use 'jQuery' for my WSS 3.0 Site. I am using 'Javascript' also on it.
Will I face any conflicts?
Thnks
--saumil
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 ...
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.
...
