0

I can't seem to load the tabs on my page. I get an error:

TypeError: $(...).tabs is not a function

Here is my code:

<link href="../css/bootstrap.min.css" rel="stylesheet">
<meta charset="UTF-8">
<link href="../css/custom.css" rel="stylesheet">

<link href="https://code.jquery.com/ui/1.12.4/themes/pepper-grinder/jquery-ui.css" rel="stylesheet" type="text/css"> 

<link rel="stylesheet" href="/resources/demos/style.css">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
      rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
      crossorigin="anonymous">

<script src="https://code.jquery.com/ui/1.12.4/jquery-ui.js"></script> 

<script src="https://code.jquery.com/jquery-1.12.4.js"></script>

<script type="text/javascript">
 $(document).ready(function() {
     $("#tabs").tabs();
 });

</script>

` What I am missing?

1 Answers1

0

You need to use a later version of jQuery.

You could change <script src="https://code.jquery.com/jquery-1.12.4.js"></script> to:

2x: <script src="https://code.jquery.com/jquery-2.2.4.js"></script>

3x: <script src="https://code.jquery.com/jquery-3.3.1.js"></script>

Maytha8
  • 846
  • 1
  • 8
  • 26