Tagged Questions
0
votes
0answers
130 views
SharePoint 2010 form and onbeforeunload event raises unspecified error in IE 8
I've got an edit form in SharePoint 2010 where I want to ask the user if he really wants to leave the page without saving.
So I use the onbeforeunload event as follows:
$(function () {
...
0
votes
0answers
138 views
Created a layout page, but getting a parentElement null error
I've created a layout page, when I run the page and look at the JavaScript console, I get a 'parentElement' null error message like this:
Uncaught TypeError: Cannot call method 'parentElement' of ...
6
votes
2answers
1k views
“a is null” error in vanilla SP2010 install
I'm setting up an SP2010 VM for dev testing purposes. Our vanilla install has no other components present and is throwing JS errors in Chrome and Firefox.
In Firefox (v13):
a is null
...
2
votes
1answer
7k views
Calling the SP.UI.ModalDialog.showModalDialog method
My SharePoint solution has a userControl that Register a js block
string getJS(string title, string htmlContent)
{
return (string.Format(@"
ExecuteOrDelayUntilScriptLoaded(function ...
1
vote
1answer
2k views
Why am I getting JavaScript errors in my extended web application?
I have extended a web application in SharePoint Foundation 2010. Added an AAM from "http://servername" to "http://portal". Accessing the site with the AAM address (http://portal) will come up however ...
0
votes
1answer
903 views
WebResource.axd JavaScript errors
I'm getting JavaScript errors on a SharePoint publishing site, just browsing to any page.
In IE the errors are like:
Syntax error: WebResource.axd
Line: 1
Char: 1
Code: 0
URI: ...
1
vote
2answers
461 views
SharePoint Approval Workflow Javascript error
I've been trying to create a simple Approval Workflow in SharePoint (MOSS 2007).
After going through the first screen where I type in the name, Task List, History List, startup params, etc. I go on ...
1
vote
2answers
918 views
Content Editor Webpart Javascript Issue
I have recently upgrade our test environment to SP 2010 (using DB detach and attach approach). And also we did not do the Visual Upgrade. We have few CEWP's which is now starting throwing JS script ...