Josh Gier
asked on
SharePoint and Javascript 404 Error - Failed to Load Resource
Hi Everyone,
Thanks in advance for all the support and great input people provide on this site. Big fan.
Question, I'm receiving 404 errors on my sharepoint site. We have custom download/submit status buttons and they entail javascript/jquery/simplemo dal objects.
<link href="***Full path***/css/confirms.css" rel="Stylesheet" type="text/css"/>
<link href="***Full path***/css/FN2CVRTheme.cs s" rel="Stylesheet" type="text/css"/>
<link href="***Full path***/css/simplemodal.cs s" rel="Stylesheet" type="text/css"/>
<script src="***Full path***/js/jquery-1.4.2.mi n.js"></sc ript>
<script src="***Full path***/js/jquery.highligh t.js" type="text/javascript"></s cript>
<script src="***Full path***/js/jquery.simplemo dal-1.3.5. js" type="text/javascript"></s cript>
<script type="text/javascript">
$(document).ready(function ()
{
$("table#MSO_ContentTable > tbody > tr:first-child > td.ms-bodyareaframe > table > tbody > tr:nth-child(2) > td:nth-child(2)> table > tbody > tr:nth-child(2) > td:first-child > table").width('300');
document.title="Document Name";
jQuery.noConflict();
$("#status").click(functio n()
{
var ccnsel = $("[id*='DropDownList_CCNs ']").val() ;
var src = "Web Part URL";
$.modal('<iframe src="' +src+ '" height="800" width="700" style="border:0">');
});
});
Everything is referenced to a full url path and is available. But I'm receiving theses errors within the debugger and my buttons are non-responsive or do not show up. Any thoughts?
Thanks in advance for all the support and great input people provide on this site. Big fan.
Question, I'm receiving 404 errors on my sharepoint site. We have custom download/submit status buttons and they entail javascript/jquery/simplemo
<link href="***Full path***/css/confirms.css" rel="Stylesheet" type="text/css"/>
<link href="***Full path***/css/FN2CVRTheme.cs
<link href="***Full path***/css/simplemodal.cs
<script src="***Full path***/js/jquery-1.4.2.mi
<script src="***Full path***/js/jquery.highligh
<script src="***Full path***/js/jquery.simplemo
<script type="text/javascript">
$(document).ready(function
{
$("table#MSO_ContentTable > tbody > tr:first-child > td.ms-bodyareaframe > table > tbody > tr:nth-child(2) > td:nth-child(2)> table > tbody > tr:nth-child(2) > td:first-child > table").width('300');
document.title="Document Name";
jQuery.noConflict();
$("#status").click(functio
{
var ccnsel = $("[id*='DropDownList_CCNs
var src = "Web Part URL";
$.modal('<iframe src="' +src+ '" height="800" width="700" style="border:0">');
});
});
Everything is referenced to a full url path and is available. But I'm receiving theses errors within the debugger and my buttons are non-responsive or do not show up. Any thoughts?
Are those resources in another site collection or outside SharePoint entirely?
ASKER
Resources are in the same site collection.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I second SneekCo's post.
ASKER
Good suggestion. Resource was no longer within the pointed reference. Changed reference pointers to changed location.
Thanks, glad you got it working!