0
votes
0answers
46 views

Custom Ribbon Sharepoint 2013 Custom Action with javascript

I would create a custom ribbon in Sharepoint 2013. I created my APP-Sharepoint Hosted APP and I have added my Custom Ribbon . This Custom Ribbon, with a click under it, must open a dialog box or ...
2
votes
0answers
44 views

SharePoint Edit Mode Javascript error in edit mode

I am not able to edit the page from the browser. I used to change and edit webparts when suddenly in the edit mode everything looks like it is locked/stalled. When I open the debugger tool, I saw a ...
0
votes
1answer
316 views

SP Online - Code blocks are not allowed in this file

I have built a selection of ASP.net controls on my default.aspx page. I am using the following line of javascript to try and get the value of an ASP control. var imgUrl = ...
0
votes
0answers
135 views

Autogenerated JavaScript Errors in 2010 mode (document.forms.aspnetForm)

I have upgraded from SharePoint Server 2010 to 2013 in our test environment. The sites are still in 2010 mode. I am getting javascript errors all over the place. For example, on our homepage I see the ...
0
votes
0answers
277 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 ...
9
votes
4answers
3k 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
11k 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
3k 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
1k 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
503 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
976 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 ...