Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6646321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:24:08+00:00 2026-05-26T00:24:08+00:00

Finally got it! I didn’t have the css loaded!! silly me… thanks for helping

  • 0

Finally got it! I didn’t have the css loaded!! silly me… thanks for helping me with the other issues!

I’m using ruby on rails locally.

attempting to work with “jquery-ui-1.8.16.custom.min.js” & “jquery-1.6.2.min.js”

i was able to get jQuery ui “accordion” to work just fine.. but “tabs” will not work!!!

I’ve check that files are called properly and in the correct locations…

<script type="text/javascript" src="/javascripts/jquery-ui-1.8.16.custom/js/jquery-ui-1.8.16.custom.min.js">
<script type="text/javascript" src="/javascripts/jquery-ui-1.8.16.custom/js/jquery-1.6.2.min.js">

firebug shows the following 3 errors (attempting to use jquery ui “tabs”):

jQuery is not defined
[Break On This Error] c.ui.isOverAxis(b,e,i)}})}})(jQuery);


jquery...4700986 (line 18)
element.dispatchEvent is not a function
[Break On This Error] element.dispatchEvent(event);


protot...4640791 (line 5653)
$("#tabs").tabs is not a function
[Break On This Error] $( "#tabs" ).tabs(); 

these errors tell me something is wrong with the jQuery UI lib I just downloaded from their “stable” link…. Is that the case or is something else going on here?

Thanks!

After changing the order of my libs I was able to get it down to 1 error (error with prototype lib)….

element.dispatchEvent is not a function

[Break On This Error] element.dispatchEvent(event);

below is an update which contains my tabs html and js…

<div id="tabs">
<ul>
    <li><a href="#tabs-1">tab1</a></li>
    <li><a href="#tabs-2">tab2</a></li>
    <li><a href="#tabs-3">tab3</a></li>
</ul>
<div id="tabs-1">
    <p>tab1 content</p>
</div>
<div id="tabs-2">
    <p>tab2 content</p>
</div>
<div id="tabs-3">
    <p>tab3 content</p>
</div>
    </div>

jQuery:

$(document).ready(function(){


$( "#tabs" ).tabs();

});

and when I replace the “.tabs()” with “.hide()” the tabs element does hide properly…

What am I doing wrong here?

I also tried noConflict mode with the following JS:

 jQuery(document).ready(function(){
 var $j = jQuery.noConflict();

  $j( "#tabs" ).tabs();

 });

same issues…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T00:24:09+00:00Added an answer on May 26, 2026 at 12:24 am

    Your error:

    jQuery is not defined

    This translates to: your <script> tags are in the wrong order.

    jQuery should load before jQuery UI:

    <script type="text/javascript" src="/javascripts/jquery-ui-1.8.16.custom/js/jquery-1.6.2.min.js">
    <script type="text/javascript" src="/javascripts/jquery-ui-1.8.16.custom/js/jquery-ui-1.8.16.custom.min.js">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have finally got the green light to use Memcached in our project (after
I've have finally got the datepicker to work on my MVC demo site. One
I have finally got in my mind what worried me about Dependency Injection and
I've finally got this PHP email script working (didn't work on localhost…), but my
I read other threads like this but they didn't work for me. I got
I have been working on this Tab View and I finally got it working
Finally, thanks to most of you, I got my first app approved by Apple.
I didn't find any question like this here. Yesterday I finally got Gingerbread 2.3.4
I finally got this to work using the javascriptserializer to deserialize the json content.
I finally got xdebug set up and running and I'm using webgrind to understand

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.