Thanks this works for me. :)
I have checked other ajax requests and found that some extra parameter
server : PMA_commonParams.get('server'), db : PMA_commonParams.get('db'), table : PMA_commonParams.get('table'),
are passed in the ajax request. What is the need of this so that I can check if these are required in my case.
I think these are used to get the currently selected tables, database so that the operations can be performed on them. Then this is not required in my case and I can simply ignore these.
Manish Bisht Email : hi@manishbisht.me Website : https://manishbisht.me
On Mon, Jul 17, 2017 at 11:32 PM, Michal Čihař michal@cihar.com wrote:
Hi
Manish Bisht píše v Po 17. 07. 2017 v 23:17 +0530:
I am not able to get where to pass ajax_request in the GET or POST parameter or it is different.
I am doing something like this to get the JSON response.
$.ajax({ url: "progress.php" }).done(function() { //success });
How to pass ajax_request in this request.
Following should do that:
$.ajax({ url: "progress.php", data: {ajax_request: '1'} }).done(function() { //success });
-- Michal Čihař | https://cihar.com/ | https://weblate.org/
Developers mailing list Developers@phpmyadmin.net https://lists.phpmyadmin.net/mailman/listinfo/developers