This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 235232

Summary: jQuery cc doesn't work for variables
Product: javascript Reporter: Petr Pisl <ppisl>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: alex-giannis, pjiricka
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Petr Pisl 2013-08-29 11:54:58 UTC
This is a part of an email communication:

I followed the tutorial for simple jQuery application with netbeans. Netbeans has
excellent features, working with it will be easy for JavaScript development.

However there are certain doubts that I have , please clarify.

When I use the jQuery library in html5 project, I'm able to access jQuery methods in
content assist by writing some code like 
jQuery("#mydiv span").each or jQuery("#mydiv span").filter

However content assist does not work when I try to access the functions by assigning the
jQuery object to some variable.
For example :

var spans = jQuery("#mydiv span");
spans./*no jQuery functions accessible*/

content assist does not work with the "spans" variable, even though it is instance of