[Phpmyadmin-devel] Need help, about AJAX

Edward Cheng c4150221 at gmail.com
Mon May 26 12:04:33 CEST 2014


2014-05-26 17:56 GMT+08:00 Atul Pratap Singh <atulpratapsingh05 at gmail.com>:

> On 5/26/14, Edward Cheng <c4150221 at gmail.com> wrote:
> > 2014-05-26 17:22 GMT+08:00 Michal Čihař <michal at cihar.com>:
> >
> >> Hi
> >>
> >> Dne Mon, 26 May 2014 16:59:54 +0800
> >> Edward Cheng <c4150221 at gmail.com> napsal(a):
> >>
> >> > Hi, I'm writing console.js AJAX part.
> >> > But I see two global AJAX handlers, if I want to
> >> > use them, is that means I can't handle the response
> >> > event?
> >> > How can I write own response callback while using
> >> > global handlers?
> >>
> >> Maybe following wiki pages will help you:
> >>
> >>
> https://wiki.phpmyadmin.net/pma/Generating_pages_and_ajax_responses_in_pma4
> >> https://wiki.phpmyadmin.net/pma/Page_loader
> >
> > ​That not help me, I want to handle response data,
> > get information and put them to console log...
> >
> From https://wiki.phpmyadmin.net/pma/Page_loader I get:- "In order for
> the generic page loader not to handle such cases, it is necessary to
> add an "ajax" class to the link or form"
>
> So you can of course write your custom handler and handle response
> your own way. You just need to add class "ajax" to your element for it
> to work.
>
​I need global handlers handle my requests(show query result just like
click a link), also need my handlers handle response data(update console
messages).

>
>
> --
> Atul Pratap Singh
> http://blog.atulsisodia.in/
>
>
> ------------------------------------------------------------------------------
> The best possible search technologies are now affordable for all companies.
> Download your FREE open source Enterprise Search Engine today!
> Our experts will assist you in its installation for $59/mo, no commitment.
> Test it for FREE on our Cloud platform anytime!
>
> http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>



-- 
Edward Cheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20140526/fbb7dd0a/attachment.html>


More information about the Developers mailing list