Add jquery support to OpenMRS project.

Application Name: OpenMRS Version Number: 1.9.8

Question: Currently I’m working with OpenMRS build as a maven project. Also it has Groovy module. The problem I’m facing is when I’m trying to add jquery library and try to use it (in .gsp files), I’m getting an exception telling groovy doesn’t support this syntax. I have tried several ways but nothing good yet. If anyone had face this kind of situation…? Any ideas to solve this…?

See this page: and see what it says about jQuery.

Short answer: you need to escape the dollar sign.

-Darius (by phone)

1 Like

Thank you. I think I got what I need