Hi i am working with an web application. in my webapp on the browser i am intiating an ajax call to update part of the page. I get the response as html from the server and i will insert the complete response into the div which displays it. I got a serious problem here. when server throws a page with 404 error then i should not display anything. I mean i should ignore that response. How this can be done? Thanks in advance. I am struggling with this from so long.
yaragalla_mural
0
Newbie Poster
Recommended Answers
Jump to PostWhat's the code you are using. An AJAX call returns a status you can use.
All 4 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
yaragalla_mural
0
Newbie Poster
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
yaragalla_mural
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.