Forum
19:38
30/07/2013
Hey guys, I am trying to write a plugin for wordpress. I am using jqGrid and integrating it in wordpress but the problem is whenever I try to load the page I get the following error
[09:23:53.734] TypeError: $ is undefined @ http://localhost/site/wp-admin/tools.php?page=db_presentator:34409:23:53.700 SyntaxError: syntax error @ http://localhost/site/wp-admin/tools.php?page=db_presentator:188
where on this line I have following code
<script type="text/javascript">
$.jgrid.useJSON = true;
$.jgrid.no_legacy_api = true;
</script>
P.s this error is in Firefox in chrome it keeps saying
Not allowed to load local resource: C:/xampp/htdocs/site/wp-content/plugins/wp-dbpresent/themes/redmond/jquery-ui-custom.css
please help...
13:53
Moderators
30/10/2007
Hello,
Are you using jqGrid PHP commertial component or only the open source.
If this is the first case, please post your question here
If it is a second case it seems you try to load a resource whch is not defined.
Please load first the jqGrid lang file and the jqGrid javascript first and then load these.
Also if you comment these lines what is happen?
Regards
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
54 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66