Forum


17:00

23/03/2011

Hello all,
I'm getting an 'f is not defined' error when I'm trying to load div with a grid using ajax.
the code is the same as the subgrid demo, deffer only by the ajax call.
the scripts used are (loaded struts 2 jquery plugin).
<script src="${contextPath}/struts/js/base/jquery-1.4.3.min.js" type="text/javascript" style="color: rgb(0, 0, 0);"></script>
<script src="${contextPath}/struts/js/base/jquery-ui.min.js" type="text/javascript"></script>
<script src="${contextPath}/struts/i18n/grid.locale-en.js" type="text/javascript"></script>
<script src="${contextPath}/struts/js/plugins/jquery.jqGrid.js" type="text/javascript"></script>
the ajax call returns a div with an emty table for the grid and a div for pager. the json data arrives from a servlet and not php.
And, in case u are wondering y I don't use the struts plugin directky, it's because it doesn't support three leve subgid, only 2.
if u have any thought about y I'm getting this error, please help.
G
Most Users Ever Online: 715
Currently Online:
70 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