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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:37:56+00:00 2026-06-10T07:37:56+00:00

I just started using netbeans (NetBeans IDE 7.2 (Build 201207171143) under Win7/64bit) to try

  • 0

I just started using netbeans (NetBeans IDE 7.2 (Build 201207171143) under Win7/64bit) to try out jQuery developement. Especially the autocompletion seemed very handy..

I used this tutorial: http://netbeans.org/kb/docs/web/js-toolkits-jquery.html
I did everything like in this tutorial but took the current version of jQuery.js (v1.8.0) instead of the older 1.4.2-revision.

Lets look at the following code snipped:

<script type="text/javascript">
  $(document).ready(function(){
    $("h1").click(function(){ alert ("HI!"); });
  });
</script>

The autocompletion works for “$(document).” and suggests “ready”. So far, so good…

The 3rd line starts with “$(“h1″).” after that selector followed by “.” I get a lot of suggestions but not for “click”; When I use the older jQuery-1.4.2.js it works as seen in the following screenshot of the tutorial: http://netbeans.org/images_www/articles/69/web/js-toolkits-jquery/code-completion.png

Questions:

  • What’s actually the problem here?
  • Can we somehow get this working with the current version of jQuery? If so: How?
  • Who’s potentially in charge here … bug in jQuery or netbeans?

Regards,
Stefan

— update —

The problem only occurs if you add a <script type="text/javascript" src="js/jquery.js"></script> to the source code. If you omit the include, it’s working as it should.
So this seems to be an issue of Netbeans. And lead us to the following adapted question:

Question: Not including the jquery.js is just a workaround. Is there a way to fix that? Maybe it’s needed that we disable some “auto-include-everything” option somewhere in the project?

— update #2 : SOLUTION —

It’s even the name of the included script <script type="text/javascript" src="jq.js"></script> works, but any resource name ending in ‘jquery.js’ don’t work, whereas <script type="text/javascript" src="jquery-1.8.0.js"></script> worked!
So it’s actually a kind of bug in Netbeans, that is caused by some hardcoded stuff. And the solution is to rename the JavaScript file in a way that it e.g. still includes the revision.

  • 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-06-10T07:37:58+00:00Added an answer on June 10, 2026 at 7:37 am

    Looks like you’re using a minified version of jQuery, because you’re likely getting code completition from JS core, so you need to include in your project the development version or both (development and minified), if you’re pushing code to production, to get jQuery code completition and API especifications. Watch this:

    jQuery 1.18 code completition demostration

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

Sidebar

Related Questions

I just started using the Netbeans 7.1 beta and it is calling out errors
I have just recently started using NetBeans IDE (6.9.1) and have used it to
I just started using Netbeans to debug PHP apps, but when I inspect any
I have just started with Gui Programming in netbeans (Using the template Java Desktop
I just started using nbandroid plugin with Netbeans 7.0.1 (and 7.1). I could compile
I just started using the Eclipse IDE and for a first test I created
Please bear with me as I've just started using NetBeans for the first time!
Just now I have started using netbeans 6.9.1. I want to create a HTML5
Just started using AJAX today via JQuery and I am getting nowhere. As an
Just started using App Engine's webapp framework, but I can't figure out what's wrong

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.