Hello All,
I am working on an application in which I need to populate dropdowns on the basis on previous selection from drop down. code is working fine in mozilla but it fails in Internet explorer and chrome
here is the explained scenario
above javascript function calls a
java method and in return receives a json of format name:value
i have checked the json on multiple websites and they say it is correct but i'm not able to populate the select list in IE8, it goes to error and give the alert Unexpected server error.
i have tried setting cache: false, async:false
contentType in java is set to application/json.
don't know where I'm going wrong.
also in chrome above function works fine but there is a similar function for another dropdown which fails.
in case of chrome request does not even goes to the
servlet.
both function are working fine in mozilla
any help would be appreciated.
PS: IE version is 8 and chrome version is 17.0.963.56
thanks.