[jQuery] getJson failing silently

2009-07-10 Thread poluris82
I have a problem with the getJson callback in jquery. Here's the scneario. The user enters a query online and hits 'execute'. At this point make a call to a java servlet that returns the results of the query. The results include one row contiaing the column names which is followed by multiple

[jQuery] Re: getJson failing silently

2009-07-10 Thread poluris82
yes, I'm using firebug and it's really helpful. That's where I got the sample JSON data (that I gave in my message) from. The response header shows '200 OK' even when the ajax fails. And I see the json data returned in the response. On Jul 10, 11:18 am, MorningZ morni...@gmail.com wrote: Also i

[jQuery] Re: getJson failing silently

2009-07-10 Thread poluris82
Thank you both, I've learned something new today from each of you. After a number of trials, I think I found the issue. There are some newline characters in some of the rows fetched from the database. I'm almost sure this is what is causing all the issues. I'll see if I can handle them in the

[jQuery] Jquery not working in jsp

2009-05-02 Thread poluris82
I'm a jquery newbie and am trying to use it in a simple web application. This application has a controller servlet that forwards the request to a 'login.jsp' page by default. In the login.jsp page, I used Jquery for the hover effect on the submit button. If I name my file 'login.html', it works