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 634009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:14:51+00:00 2026-05-13T20:14:51+00:00

I notice that jQuery 1.2.6 is installed with the latest version of Drupal 6.

  • 0

I notice that jQuery 1.2.6 is installed with the latest version of Drupal 6. But it’s not called by content pages by default. Assuming I wanted to include a very simple jQuery code snippet (not a plugin, etc.) in a page:

I’m looking for a solution for non-coders. And while modifying php files is an option, it’s my least desirable solution. Instead, I want to add in a script tag, pulling in the latest version?

I can imagine that it could cause problems we can’t even anticipate down the road, but I’ve confirmed that it does work quite nicely on a single page (as of the current version, etc).

Is there another simple way to enable jQuery by default, something that can be done with minimal coding?

  • 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-13T20:14:51+00:00Added an answer on May 13, 2026 at 8:14 pm

    Yep, including it in your .info file should work fine.

    A cautionary note for future reference, however: If you eventually find you need a newer version of jQuery than Drupal core provides, don’t just upload that newer version to your theme folder and stick a reference to it in your .info file. You’ll find Drupal adds its old version of jQuery on pages where it thinks jQuery is needed, and you’ll end up with two versions of jQuery on one page. Instead, install the jQuery Update module, and put a reference to the new jQuery file it provides into your theme’s .info.

    Also, for those who don’t mind coding, a call to drupal_add_js() in a hook_init() or a preprocess_page function will get Drupal to add jQuery to the page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On the jQuery documentation pages, I notice that the Disqus comments do no open
When I click on Request and Invite, you'll notice that there's a JQuery error...but
I created some widgets with jQuery UI and I notice that buttons have a
How can I hide the scrollbar of using css/jQuery? I notice that the slideDown()
A programmer installed jquery lightbox and everything was working fine on http://www.ozhiphopshop.com.au/sub_photos.php?id=11 I wanted
I notice that a lot of tools built in jQuery, and particularly those that
As I look through the Rails 3 jquery-ujs code, I notice that it binds
I just did my first jQuery plugin which hides content that is too long.
I have a page that is using Jquery tabs. The tabs determine not only
I am trying to align jquery ui-icons with text like following, but I notice

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.