Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
problem: f is undefined thrown from an empty line
23/03/2011
17:00
Avatar
galrub
New Member
Members
Forum Posts: 1
Member Since:
23/03/2011
sp_UserOfflineSmall Offline

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

24/03/2011
14:28
Avatar
Leandro Irgang
Brasil
Member
Members
Forum Posts: 21
Member Since:
04/01/2010
sp_UserOfflineSmall Offline

Hi

I had this problem... try update jquery to 1.4.4

Leandro

Forum Timezone: Europe/Sofia

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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information