[phpMyAdmin Developers] phpmyadmin database update
Manish Bisht
manish.bisht490 at gmail.com
Mon Jul 17 20:20:06 CEST 2017
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 at manishbisht.me
Website : https://manishbisht.me
On Mon, Jul 17, 2017 at 11:32 PM, Michal Čihař <michal at 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 at phpmyadmin.net
> https://lists.phpmyadmin.net/mailman/listinfo/developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phpmyadmin.net/pipermail/developers/attachments/20170717/130320aa/attachment-0001.html>
More information about the Developers
mailing list