How to use debian libjs-jquery package in a project?

I want to use the libjs-jquery package instead of attaching a jquery file in my project.

After installation: sudo apt-get install libjs-jquery

How can I use it in my project?

Note. my project is part of the side implemented in Python and has access to the webpage for the panel. I want to use libjs-jquery on this page of a web page.

+7
jquery debian package
source share
1 answer

The libjs-jquery package contains /usr/share/doc/libjs-jquery/README.Debian , which explains how to use the provided jQuery on your website. Basically, all that is required is

 <script language="javascript" type="text/javascript" src="/javascript/jquery/jquery.js"></script> 

in the HTML header.

Alternatively, you can symbolically bind /usr/share/javascript/jquery/jquery.js to the appropriate place in your own project.

In all cases, jquery.js can be replaced with jquery.min.js or jquery.lite.js depending on your requirements.

+8
source share

All Articles