skip to Main Content

Jquery ajax – Response always whole ajax-packet

I get always the whole ajax-packet instead of simple response (true/false) as return of this function (responseJSON.success/responseText.success). Otherwise, the browser sends me an error or fault result with described content function isUnique(inputObject) { let type = $(inputObject).attr('id'); let res =…

VIEW QUESTION

How to append integer value to JSON object – Magento

I Used AJAX request to availability of Shop title of our system. In there i used use api and it response like this "[{"count":2,"seller_id_1":"1207","title_1":"PRIMA CEYLON PVT LTD","url_1":"prima-ceylon-pvt-ltd","seller_id_2":"6509","title_2":"Prima Management Services (Pvt) Ltd","url_2":"prima-management-services-pvt-ltd"}]" data retrieve using data response object's 0th element. if…

VIEW QUESTION
Back To Top
Search