When I am putting any jQuery/JavaScript code in to the custom module action page then it’s not identifying the jQuery tag as because it’s not including JavaScript library. But as far I know in Dolibarr we don’t need to include JavaScript library file every where. Even when I am including it using CDN then the design is getting changed in whole system.
Thanks for your reply. I have used jQuery instead $ but my question if I will have to use jQuery under doActions hook then what should I do? Because without including jQuery library under this hook jQuery is not working in the action file.
jQuery (jquery.min.js) is included by default in the header for all Dolibarr pages. If it’s not working for your action file, you can use <script src="/htdocs/includes/jquery/js/jquery.min.js"></script> to include it.