i want to display some error message else i want to display another map div in else condition. but every time when i hit Ajax only else condition is working..but when i alert response and see the output it shows this message when. i want to display some error message else i want to display another map div in else condition. but every time when i hit Ajax only else condition is working..but when i alert response and see the output it shows this message when. i want to display some error message else i want to display another map div in else condition. but every time when i hit Ajax only else condition is working..but when i alert response and see the output it shows this message when.