integrate jQuery library in the template

Hi Guys,

I am currently working on adding template just like we already have printWithBarcode.html in openMRS. I needed to do some data manipulation using Jquery. Added library jquery-3.4.1.js and wrote the code in document ready for just console log but it is not working. And there is no error in console log either.

Can anyone please help me get through this?


Sample code would be great to show what the issue is

I have uploaded the screenshot of the code that I am working.