I have application develpoed in using Javascirpt and Ajax functionality. Scenario is that when I clicked on Ajax functionality button on a search of a particular function it populates list from DB but when I pressed enter button instead of clicking Ajax button, then it shows error message as Webpage cannot be dispayed. Can anyone suggest a answer for this why it is not working properly when i pressed enter button, but working properly by clicking Ajax button.
No it was not submitting form, later i did changes in Internet option to get exact error message and i got below error message --> 500 Internal Server Error Servlet error: Request[/CustomerMonDestAssignmentView] does not contain handler parameter named 'method'. This may be caused by whitespace in the label text.
How nice of them to suggest a cause. Is there whitespace in the label text, or is the server just babbling?
is it submitting your form?
... whether it's a form or a "get parameter," the problem is in how the server is processing it. So work backwards from there: server errors <- my Ajax is sending malformed data so it can't process it.