info:jquery

Ceci est une ancienne révision du document !


jQuery

http://jquery.com/

http://api.jquery.com/

jQuery is a fast, concise, JavaScript Library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages

Note Fred: j'ai toujours détesté js… jusqu'à ce que je découvre jQuery, qui le rend efficace et (presque) sympathique!

Table plug-in for jQuery

DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, and will add advanced interaction controls to any HTML table.

https://datatables.net/

note FredR: LE plugin de la mort qui tue pour jQuery, il permet d'ajouter un moteur de recherche avec filtre sur n'importe quel tableau HTML

source: http://docs.jquery.com/Using_jQuery_with_Other_Libraries

Overriding the $-function

However, you can override that default by calling jQuery.noConflict() at any point after jQuery and the other library have both loaded. For example:

 <html>
 <head>
   <script src="prototype.js"></script>
   <script src="jquery.js"></script>
   <script>
     jQuery.noConflict();
     
     // Use jQuery via jQuery(...)
     jQuery(document).ready(function(){
       jQuery("div").hide();
     });
     
     // Use Prototype with $(...), etc.
     $('someid').hide();
   </script>
 </head>
 <body></body>
 </html>
  • info/jquery.1514441838.txt.gz
  • Dernière modification : 2017/12/28 07:17
  • de radeff