Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have edited a homepage for my site. I added links to my jquery files from my stylelibrary locates on the same site. below is my placeholder head code.

    <asp:Content ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server">
<meta name="CollaborationServer" content="SharePoint Team Web Site" />
<link rel="stylesheet" type="text/css" href="StyleLibrary/CSS/redmond/jquery-ui-1.8.23.custom.css"/>
<script type="text/javascript" src="StyleLibrary/JS/jquery-1.8.0.min.js"/>
<script type="text/javascript" src="StyleLibrary/JS/jquery-ui-1.8.23.custom.min.js"/>
    <script type="text/javascript">
$(document).ready(function() {
$("#hometab").tabs();
});
    </script>
   </asp:Content>

for some reason I see in fiddler that only the css file in jquery.min.js is loaded why doesn't it load jquery custom.. This is really weird and I don't see why It would load the others and not this specific one. I am trying to create a tab ui

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

Try this:

<script type="text/javascript" src="StyleLibrary/JS/jquery-1.8.0.min.js"></script>

Update:
The script Tag omission must have a start tag and end tag.
Script | MDN
Why dont self closing script tags work

share|improve this answer
    
You are awesome please explain to me why did that make a difference. I swear SharePoint is frustrating. Now my dataview webparts arent in the tabs. –  Joseph D Surgeon Oct 2 '12 at 16:10
    
As soon as it lets me set you as the answer I will give credit –  Joseph D Surgeon Oct 2 '12 at 16:10
    
Can you help me get the webpart zones to show within the tabs –  Joseph D Surgeon Oct 2 '12 at 16:20
    
I figured out the tab divs was using class instead of id's I greatly appreciate your help. Have a Great Day :) –  Joseph D Surgeon Oct 2 '12 at 16:26
    
+1 for the SO link. –  RJ Cuthbertson Oct 2 '12 at 17:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.