I\\\’m a newbie to using grid4php. The grid displays correctly the contents of a MySql database table within a Joomla article but when debugging the code I\\\’m seeing this error: Uncaught TypeError: $ is not a function at eval (eval at <anonymous> (jquery.jqGrid.min.js:9), <anonymous>:1:188) at dispatch (jquery.min.js?8f3aa6a98ea87e08c75cc6be50120a9d:2) at v.handle (jquery.min.js?8f3aa6a98ea87e08c75cc6be50120a9d:2) Has anyone seen this before and knows what\\\’s casuing it? Thanks for any suggestions
It looks like either JS jQuery is loaded twice in your html. Please check browser’s – view source, and remove one jquery library that is loaded after jqgrid.min.js
Another possibility is that jQuery is not being loaded at all.
Most likely, you are correct but because I’m displaying the grid in a Joomla article I have no control over jQuery that’s loaded by Joomla. If I remove the command that forces the loading of jQuery as described in your example, the grid does not display/appear.
I think the problem is caused by the fact that I am using Joomla version 3.10.* which uses jQuery-migrate, an intermediate version of jQuery that’s installed in readiness for upgrading Joomla to version 4.