Framework for working with JavaScript.
3
votes
1answer
392 views
jQuery autocomplete dissapears on postback
I'm using the jQuery autocomplete and this works perfect. But when I do a postback, it looks like the page "forgets" that there is an autocomplete on the textbox.
Important to know: this textbox is ...
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 ...
0
votes
0answers
393 views
how to handle jquery effects after pagination
I have a jquery effect that manger hover events on images in a Data View Webpart. When the page loads the hovers work find in the table. But when I click next to paginate to the next set the hovers ...
1
vote
2answers
380 views
How To Get Site Title From URL in other web app
I have a situation where I need to retrieve the site title for a site in another web application using client side scripting.
Client site JQuery SOAP calls to the "Webs" web service returns the ...
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
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
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
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 ...
0
votes
1answer
150 views
SPServices: Using variable as column name - possible?
When using SPServices, is it possible to use a variable to specify the column to be updated?
res = lists.quickUpdateListItem('MyListHere', { ID: ReqD, columnVar : userName });
In the above ...
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 ...
5
votes
4answers
783 views
How to access a Web application/Farm level property bag via jQuery/Javascript/ClientContext
It it possible to access the Web application/Farm level property bag using jQuery/Javscript/ClientContext? If not, then what are the possible alternatives to access Web Application Farm level property ...
2
votes
3answers
3k views
How do I get the username from a PeoplePicker control using jQuery?
I have a form where I used a People Picker control. I would like to get the username entered into a people picker control using jQuery.
Please suggest?
0
votes
2answers
847 views
How to get SPSite aka SPWeb property bags using ClientContext? [duplicate]
Possible Duplicate:
Grab a specific property bag using ECMA script
I would appreciate if some paste a sample code to get the property bags values using ClientContext?
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" ...
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 ...
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 ...
0
votes
1answer
621 views
Google charts disappear on refresh/F5 of a browser
I have a Sharpeoint list which gets updated everyday. From that list I made dymanic Bar graph to display the data. Graph is working fine but I am encountring issue on Refresh or F5 of a browser. Once ...
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>
...
0
votes
0answers
884 views
How to get/set the Sharepoint field elements with parametrized properties/attributes?
Tried to ask this question in comments to:
A Dummies Guide to SharePoint and jQuery–Getting & Setting SharePoint Form Fields
but my question is not appearing in comments 2nd day.
So, one ...
1
vote
0answers
906 views
Why Sharepoint FormField's ID is parametrized and how it can take different values after its initial creation?
In SPD 2010, on designer surface of a web part page I insert DataFormWebPart by:
"Current Data Source" ("Data Sources Details" Task Pane) --> choose rows --> "Insert Selected Fields As.." --> "New ...
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}" ...
0
votes
2answers
544 views
Targeting Sharepoint form drop down
I have a newform.aspx created through SPD. Its already contains a drop down list.
<SharePoint:FormField runat="server" id="ff4{$Pos}" ControlMode="New" FieldName="Enquiry_x0020_Type" ...
0
votes
1answer
770 views
Prepopulating a value in NewForm.aspx
I am sending a query string into NewForm.aspx. I have populated a drop down with that value. Everything works great in Chrome but Internet Explorer does not save the pre-populated value. The value ...
0
votes
2answers
358 views
client object model and jquery not loading — sort of
I'm getting some data from a list via the client object model. After I get the list data, and the page loads, I want to use a little jquery to add a hover effect. Easy enough, right? Well ...
3
votes
3answers
374 views
jquery projects and visual studio best practices?
Just curious how others are handling their jquery related solutions. It's obviously very easy to add a Content Editor web part with a content link to a source file. That file could have your ...
0
votes
0answers
337 views
Show/Hide Fields (as in “add more”)
To no avail, I have tried to use jquery to show and hide fields based on the value of a calculated field. It works on NewForm, EditForm, but on DisplayForm. I used
...
3
votes
1answer
521 views
Hide upload Button on Asset Selector Dialog (AssetPortalBrowser.aspx)
I am looking to hide the "Upload" button in Asset Selector Dialog and I know Asset Selector Dialog uses Dialog.master in SharePoint. Is there a possibility to attach some custom jQuery/Javascript ...
-1
votes
2answers
446 views
Disable the Drop down column based on the text value…!
I am working with SharePoint 2010 form library.
I have a drop down column which is dependent on text input column value .
The value in the Text input column comes from the infopath form.
What i ...
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 ...
0
votes
1answer
780 views
Hide the upload multiple file option in document library sharepoint 2010
How do i go about hiding the "Upload Multiple Files... " option in document library using jquery?..i do not have access to the sharepoint designer so only with content editor webpart i have to do ...
0
votes
1answer
178 views
About SharePoint 2010 “select” column
I have a question related to "select" column. The "select" column little arrow to select an item, I wanna set the color to blue or any other color, when user select the arrow.
Any ideas.,really ...
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? ...
0
votes
1answer
1k views
SPServices UpdateListItems Will Not Update Target List
I'm trying to copy items from a list in one site and update/paste them into a list in another site, but I can't get it to work. Please help. I have my references to jQuery and SPServices in the master ...
1
vote
2answers
648 views
SPServices.SPComplexToSimpleDropdown Not Saving Value in IE
ok, first off this works in FF, Chrome and Safari, but does not work in IE.
What I am doing is converting the complex dropdown to a simple
dropdown using SPServices
Auto-populating the projects ...
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 = ...
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 ...
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
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' ...
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
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.
...
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 ...
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 ...
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 ...
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
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 ...
