Working with jQuery JavaScript Library

Zend Studio's jQuery Integration functionality allows you to add the jQuery library to your project's JavaScript resources so that its functions, classes and elements will be available for functionalities such as Content Assist.
See http://jquery.com/ for more information on the jQuery library.

 

Adding the jQuery JavaScript Library

This procedure describes how to add the jQuery JavaScript library to your project. Including JavaScript libraries in your project saves you time in writing and debugging code, as you are re-using debugged code.

JavaScript libraries can only be added to PHP projects with JavaScript support enabled. For more information see Creating PHP Projects.

 

 

Instructions on how to complete a procedure

To add the jQuery JavaScript Library to your project:

Select Configure from the right click menu of you project and select Add jQuery.

add_quick_js_lib.png

Functionalities such as Content Assist will now be able to access the jQuery JavaScript library. You can see the library in the "JavaScript Resources" node in your Project directory.

For information on Managing libraries see Managing JavaScript Libraries.

 

 

link_icon.png

Related Links:
Ajax Tools

Debugging JavaScript

Working with Prototype JavaScript Library

Web Browser Tools Perspective

Managing JavaScript Libraries

Adding a JavaScript Library

Adding a Library Folder to JavaScript Libraries

Editing JavaScript Libraries

Removing JavaScript Libraries