I have problems with the JSONPlugin. I want to retrieve JSON from an Action but I only get back a comma seperated list.
So somehow the converting into JSON does not work. Unfortunately I cannot figure it out why...
Here are the relevant code snippets:
JSP (jQuery ajax call to get the data for the autocomplete function):
The ajax call itself works fine, but the first alert(msg) does not show the returned data in JSON format but as mentioned simply comma seperated.
What may go wrong here?
EDIT: Although this is not a jQuery forum maybe anyone knows why
(within the ajax call) does not provide the expected value within my Action.
$(this).val() shows the expected value during an alert() and getter/setter for productPart are also available.
posted 9 years ago
Has no one any idea?
This will take every ounce of my mental strength! All for a tiny ad: