I am creating Jquery UI tabs on node.tpl file. All the required files are added but then also there is an error:

$.widget is not a function filepath on line 695

The following is my HTML code. I am using jQuery UI Tabs 1.8.20.

<div id="tabs">
  <ul>
    <li><a href="#tabs-1">DESCRIPTION</a></li>
    <li><a href="#tabs-2">COMMENTS (0)</a></li>
    <li><a href="#tabs-3">PHOTOS (3)</a></li>
  </ul>
  <div id="tabs-1">
    <p><?php print render($content['field_model']); ?></p>
  </div>
  <div id="tabs-2">
    <p><?php print render($content['field_product_testemonials']); ?></p>
  </div>
  <div id="tabs-3">
    <p></p>
  </div>
</div>
share|improve this question
That looks like jquery is not defined. Is the jquery ui js file being added after jquery loads? Also are you initialising the tabs ui using Drupal.addBehavior? drupal.org/node/756722 – dribbles Jul 25 '12 at 13:37
What is the code that is raising that error? What is the code at line 695? – kiamlaluno Nov 10 '12 at 16:17

closed as too localized by kiamlaluno Jan 3 at 6:50

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.