R
R
rinaz222018-11-28 23:54:34
AJAX
rinaz22, 2018-11-28 23:54:34

How to make a condition when getting json ajax response?

Hello! There is ajax code that sends a post request. The response comes from the server in the form of json. How to check success, if "success":true
then display alert for example.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question