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 ser
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 wrote:
> Also i forgot to add:
>
Thanks MorningZ. I just tried what you said and I got the alert for
the responseText, which is basically the sample json data I gave in my
listing. That json data looks good to me, but I cant understand why it
failed though. Do you see any issues with that data? The json
validator on www.jsonlint.
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 rows
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 a
5 matches
Mail list logo