i am trying some idea on a ajax send,but i can't find why this code can't not send any parameter to jsp and thorw the nullpointerException. I fix my code here,thanks for reponse. v
Solution 1:
Change your data to:
data: { dataVar : dataVal }
and your dataType to
dataType: isJSON ? "JSON" : "text
They both don't accept functions.
data accepts plain object or string and dataType accepts only string
Share
Post a Comment
for "Jquery Ajax Request Data Not Send"
Post a Comment for "Jquery Ajax Request Data Not Send"