Tagged Questions
1
vote
2answers
245 views
Using jQuery and jQuery UI in SharePoint/MOSS 2007
I am working on a web part that must display some information in a modal box. Having worked with jQuery UI in the past and appreciating its simplicity and acceptance in the .NET world, I am trying to ...
-6
votes
3answers
63 views
unidentified javascript function [closed]
I've been handed a role administering a SharePoint site, and the following custom code is on one of the pages:
<script type="text/javascript">
$(document).ready(function() {
...
0
votes
0answers
61 views
Disable Javascript alert to save content on Closing SharePoint 2007 Editform
I am using a SharePoint 2007 Publishing Site. In one of our Lists Custom Edit Forms, when user tries to close the EditForm Window at browser level, user gets a notification asking if the contents of ...
0
votes
0answers
133 views
Extracting data from a specific row in a list using SPServices on SharePoint 2007
I'm trying to write a script using jQuery and SPServices which will extract some data from a specific row in a SharePoint list according to whichever button a user clicks (the buttons are just styles ...
0
votes
0answers
17 views
How can I implement a custom “cheer card” on MOSS 2007 ? (SharePoint)
I'm trying to implement something called a "cheer card" and also a "story of service excellence" via SharePoint 2007 (MOSS 2007).
Right now I'm using the content editor webart and I have some HTML, ...
0
votes
1answer
623 views
How to Pass variable to href in GenFireServerEvent to redirect url
I have a DataFormWebPart that has <datafields> @ID,ID; </datafields>
I want to pass this variable to the redirect url in GenFireServerEvent.
Example: ManageView.aspx?ID=51
<a ...
0
votes
0answers
365 views
how to get sharepoitn list field value using javascript in MOSS 2007
I have a list called "EventSource" in that i have added one ECB menu item called "Sync Event". In the list there is a field called EventFlag . Based on this flag i want to Enable/Disable the ECB menu ...
0
votes
1answer
96 views
Sharepoint 2007 Column character limit
We are having problems with uploading very large character strings using the .asmx webservices to different lists we have on a site (300000 characters about). I haven't been able to find the character ...
0
votes
1answer
217 views
How to show a wait message OR loading image when a write operation is being performed using spapi_lists.js library.?
I am using SPAPI_Lists.js and SPAPI_Core.js libraries to update/add records to share point 2007 lists.
i want to show a wait message OR loading image still the write or read operation is completed.
...
0
votes
0answers
128 views
Microsoft JScript runtime error: 'browseris' is undefined
While i am trying to run one aspx page that is using in sharepoint 2007 which contains inputformtextbox throwing Microsoft JScript runtime error: 'browseris' is undefined. I don't know what's the ...
1
vote
2answers
229 views
Hide OK button based on radiobutton selection
I have a Sharepoint List with Radio-button field. If someone checks no then it should disable the ok button, but if yes is selected the ok button should be enabled.
I need to write a javascript in ...
0
votes
2answers
1k views
Get current username on the client side on SharePoint 2007
I need to create a simple static web part - the only dynamic part is the current user login name (needs to be included in a URL parameter in a link).
I'd rather just use a content editor web part ...
0
votes
2answers
68 views
Multiple Nav update Jquery
Created a header and footer nav. The header nav contains 1 UL and the footer nav contains 5 UL. I want the li:first child of each UL in the footer nav to match up with the header nav. The footer nav ...
0
votes
1answer
135 views
Header/ Footer nav update jquery
I created a header and footer navigation with different states using jQuery. I'm having an issue updating the header nav when the footer nav is clicked. For example when the user clicks list 1 in the ...
0
votes
2answers
165 views
MOSS 07 editform.aspx fails to commit and goes to blank html page
Found solution from Microsoft Blog... see below
OK, to start I don't like the word random but I cannot find any correlation in test cases for this problem so I am going to use random to describe ...
0
votes
0answers
118 views
Is it possible to modify a .js/.json file in a Document Library using only javascript ?
We have a html file in a Document Library which contains a large html table with useful info. (this files is exported manually from a different app)
The info would be even more useful/accessible if it ...
1
vote
1answer
473 views
Reading Individual Permissions from Permission Mask for Sharepoint 2007
I am trying to use the SPServices jQuery library to read the permissions mask for users on Sharepoint 2007 sites. I can successfully get a number for the permissions mask but I am having trouble ...
2
votes
1answer
132 views
Confirmation Box in SPItemEventReceiver class
I want to display a confirmation box in SpItemEventReceiver class using just C# or any script or plugin (e.g. jQuery) with it.
I have researched the problem and I believe that I can do something like ...
0
votes
1answer
208 views
How to get data as JSON from a Sharepoint issuer tracker to display in FullCalendar JS
Can someone please help me on how to get Sharepoint Issuer tracker list data as JSON data using (AJAX) so that i can use it in FullCalendar JS.
We have our Vacation Tracking done using Sharepoint ...
0
votes
1answer
2k views
Looking for a really simple example of UpdateListItems for SPservices with Sharepoint 2007
I'm just getting into SPServices for Sharepoint, seems like it could be the business for my needs, i.e. programatically updating values in a list.
As a test, I've tried the following code to update ...
0
votes
1answer
536 views
How to apply Javascript to a grouped SharePoint list?
I am fairly new to the SharePoint customization scene but have picked up some javascript which will change the background colour of a cell in a SP list dependent on the value of the cell.
This works ...
0
votes
1answer
126 views
Access/Change the html of a class in another webpart on the same page
I have a div class='myDiv' in a webpart on my page. I need to access that div from another webpart on the page I wish to use javascript/jquery to do so. Since they are not inside of the same page ...
0
votes
0answers
244 views
Selecting default value in drop down via jQuery
I have a SharePoint 2007 WebPart page with a calender list, this WebPart page has a version number in its title, e.g. "WebPart 1.62".
What I need to do is when a new item is created in the calender ...
2
votes
3answers
4k views
onChange event doesn't trigger
I use Internet Explorer 8 and Sharepoint 2007.
Briefing: I have a NewForm with various fields from a list. I need, using javascript, from one of the fields, to get the value introduced by the user ...
0
votes
1answer
522 views
Getting Data from a SOAP envelope
I am trying to populate a gadget with a sharepoint list, but I couldn't find any way or tutorial on google to help me with this, however I find this tutorial that is getting the XML feedbacks of a ...
1
vote
1answer
2k views
How can I create a Table of Contents automatically in a Sharepoint 2007 wiki page?
As our users get more familiar with the wiki functionality, and like it, we see that pages are getting longer and more difficult to navigate.
We would like to be able to generate table of contents on ...
0
votes
1answer
150 views
JS Alert not showing when using Sharepoint list value
I am using Sharepoint 2007 and writing a web part. In the "RenderContents" method I am writing the html code for displaying page. there is a requirement to display alert message to user when they ...
0
votes
2answers
1k views
how to include javascript (.js) file in sharepoint 2007
what is the way to use only one centralised javascript file in sharepoint 2007
and how we can refer to that js file through .aspx pages or custom master pages in sharepoint designer
Thanks
1
vote
3answers
1k views
sharepoint 2010: custom column with javascript
I wanted to know if it is possible to create a custom column that will get me today's date everytime without the need of updating an item in the list?
my end goal is to to be able to calculate how ...
0
votes
2answers
350 views
Sharepoint 2010: how to populate a selection box with list views?
I am having a hard time figuring this one out... my goal is to place a list view picker on the title bar of every list webpart or at least in a more obvious place in the the list page.(it is ...
1
vote
2answers
8k views
How to get site collection url using javascript? [closed]
I am stuck up in a requirement where i need to get the site collection url to pass in a function.
Please help?
0
votes
1answer
394 views
How to declare variables to be used in $(document).ready(); and PreSaveAction
I'm trying to make a check-in/check-out system for a sharepoint list and I need some functionality using the same variables bout in the $(document).ready and the PresaveAction. So far everything I've ...
0
votes
2answers
933 views
Hiding Sharepoint Survey List fields
I have a survey list. I need to hide a particular question by placing javascript in a content editor webpart. Can anybody give me the proper javascrpt code to hide the question in survey list?
6
votes
2answers
2k views
How to verify the logged in user using Javascript in sharepoint
I need to check whether the logged in user is a administrator or non-admin user by using JavaScript in sharepoint designer or content editor webpart.
Can anybody suggest?
0
votes
1answer
761 views
Add list Context Menu Item with ItemId in sharepoint 2007
I am adding menu item in defult context menu in sharepoint 2007.
I put this code in source editor web pat. This code is not working...
<script type="text/javascript">
function ...
1
vote
1answer
2k views
Calling WebServices from Adobe Acrobat X Javascript
I am trying to call a SharePoint web service from Acrobat JavaScript, and I am encountering an error that I cant seem to get around. Hoping for some help on what I am doing wrong to call sharepoint. ...
0
votes
1answer
321 views
SharePoint 2007 onchange event not unbinding in ie6
Im confident that this isnt a sharepoint 2007 issue, but id rather cover all of my bases.
I am consulting at a large company, developing a sharepoint solution for their intranet. One of my tasks is ...
0
votes
1answer
142 views
Using data return from sharepoint assetimagepicker
I'm working with Sharepoint 2007. I use the built in AssetImagePicker.aspx and I need to retrieve the image url from that page and use it in my custom webpart.
I want to run my javascript code to run ...
0
votes
2answers
334 views
How to delay a JavaScript file to load last in C# using HtmlTextWritter
I have a web part that I have created that displays some analog clocks in conjuction with whatever time zone a user specifies. The problem that I am having is that my clocks will sometimes load and ...
2
votes
1answer
678 views
InputFormTextBox setting an focus and a onblur event, in a SharePoint web part
I'm making use of a bunch of InputFormTextBoxes and I'd like to have an onblur event get fired when the box is no longer in focus. This is when RichText == true.
This is because I have a Sharepoint ...
1
vote
1answer
518 views
Code does not work in content editor web part SharePoint 2007
I'm still trying to figure out this slideshow task that I need to display in a SharePoint 2007. In my other post folks suggested doing things that are more challenging that I'm not willing or have ...
0
votes
1answer
680 views
Accessing JavaScript Variables in XSL, Client-Side
I'm creating reporting from a SharePoint 2007 system via the provided WebServices on the client-side (this is all due to developer restrictions - I know, if I had permission, this entire exercise ...
1
vote
2answers
2k views
IE8 / JavaScript: Override native implementation of document.all.item?
I know this is crazy, but IE can drive one to do crazy things.
Here's the deal: we have a SharePoint 2007 site with Content Editor Web Parts. We have a contingent of users with Internet Explorer 8. ...
1
vote
1answer
1k views
replace url parameter and text using jquery?
When I click search button the url parameter is taking care of. I need to change that url parameter name and value using jquery.
per example: search button clicked
...
0
votes
0answers
2k views
Enabling and disabling a column in sharepoint Using Jquery
I am working with jquery inorder to hide and to show certain columns in Sharepoint. The below code is done by me inorder to hide and show the columns. But here I would like to enable and disable the ...
1
vote
1answer
868 views
Programmatically changing values of Sharepoint 2007 lists
I have an ID field in one of my lists which may change and needs to be updated in list items in various lists. I need to know if this is possible. I know I could accomplish it using C# and ...
2
votes
2answers
379 views
Part of javascripts gets cut off in browser
Greetings
One of my clients javascript files is failing. I have found the reason, but the discovery has made me REALLY confused as I have never seen anything like it.
The issue is that when the ...
1
vote
4answers
1k views
Using Jquery to selecting an id with curly brackets
I've got such a frustrating question for which I'm convinced there is an easy answer. Unfortunately I can't seem to find it anywhere! I have a table which I have no control over (SharePoint) and the ...
0
votes
1answer
829 views
How to download Document programmatically in SharePoint?
I wanted to have a link when user clicked, it allow user to download document from SharePoint Document Library.
The link will be placed inside an aspx page.
I tried the function below:
...
0
votes
1answer
4k views
Accessing Sharepoint list data in a normal HTML page using JavaScript
I am trying to create a simple HTML page where i wanted to display a list of items from a SharePoint list. Basically my JavaScript has to pull the data from SharePoint list and display in HTML page.
...