Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10155

JavaScript content assist issue with jQuery, but likely more

XMLWordPrintable

      Content assist with JavaScript with jQuery not working, or respecting namespaces. Most JavaScript content assist was fine.

       
         <script type="text/javascript">
            $(document).ready(function() {
               //Fetches the initial member table
               updateMemberTable();
      
               //Register a event listener on the sumbit action
               $('#reg').submit(function(event) {
                  event.preventDefault();
      
                  var formValues = $(this).serialize();
      
                  registerMember(formValues);
               });
            });
         </script>
      

      Any call to "$('foo')." does not show any content assist. Using "jquery('foo'." instead of $ partially worked, but still not 100%. Not all the expected values are there. This makes me think there is two issues.

      To see the problem import the project I attached and try out desktop.html, or app.js.

        1. jQueryWithTern.png
          26 kB
          ZERR Angelo

              vrubezhny Victor Rubezhny (Inactive)
              jbalunas@redhat.com Jay Balunas
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: