Forum


10:02

26/01/2009

I have a jqGrid setup just fine, and added the navgrid search button to it.
$("#list").navGrid("#pager",{edit:false,add:false,del:false,refresh:false,searchtext:"Find"});
Next, I wanted to see what GET call is made when using the bar, so I used it, put in a value and hit Find.
Doing so, Firebug shows me an error and no new GET request is made. The error shown by Firebug for this is:
[Exception... "'Syntax error, unrecognized expression: [@selected]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
No line number, and I have no clue what is wrong.
I realize that the Find wouldn't work currently because the Query return is not programmed for it, but it should atleast make a call to the URL.
Any ideas what I am doing wrong here?
10:46

26/01/2009

Recent Try, Firebug actually showed me where the error is:
[Exception... "'Syntax error, unrecognized expression: [@selected]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no] ? in jqModal.js@64()jqModal.js (line 64) ? in jqModal.js@63()jqModal.js (line 63) ? in jqModal.js@40()jqModal.js (line 53) ? in jqModal.js@35()jqModal.js (line 35) ? in jquery.js@665()jquery.js (line 686) ? in jquery.js@152()jquery.js (line 153) ? in jqModal.js@35()jqModal.js (line 35) viewModal("#alertmod", Object toTop=true overlay=10 modal=false)grid.common.js (line 57) ? in grid.formedit.js@731()grid.formedit.js (line 740) ? in jquery.js@2550(Object originalEvent=Event click type=click)jquery.js (line 2577) ? in jquery.js@2349()jquery.js (line 2353) [Break on this error] f=function(h){try{$(':input:visible',h.w)[0].focus();}catch(_){}},
10:51

Moderators
30/10/2007

Hello,
I suppose you use jQuery 1.3.1 - right - if so you should wait a day or two when I publish the second beta which is compatible with 1.3.1 version of jQuery.
Regards
Tony
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.
13:15

26/01/2009

I uploaded the files to my hosting provider, and I see the GET call fine on their server (@ http://kumargroupsite.com/PLit...../users.cfm).
But still get the error on localhost. So, any ideas what could cause this?
03:48

Moderators
30/10/2007

Hello,
Please read my post carefully.
Regards
Tony
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:
39 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