[Phpmyadmin-devel] #3991 select item in any select box with the ENTER keystroke doesn't work anywhere

Aayush Anand aayushism12 at gmail.com
Sat Mar 8 21:29:25 CET 2014


hi Marc,
first of all i would like to apologies for so late reply. I was stuck in my
semester examinations.
and this time I wanted to come only with some lead, so didn't informed with
that.

i was basically talking about all the select tags. See from my research i
found that due to some reason keyup and keydown events are not integrating
correctly with those tags. And since keypress event don't catch "enter key"
press, so it is not functioning.

since i was not able to find a general solution at once, i thought of going
through a more specific select tag and solve its issue and then find a
general solution. so i started focusing over the "recent_tagle_tag" in "
pma_navigation_content". i added many onkeypress/up/down events so that we
can bypass the situation where enter key hit is not even recognized.

simplest solution which i found to it was simple writing a onkeydown/up
event (not onkeypress) and to determine the enter key hit. Once determined,
losing the focus from select tag, simply solves our purpose.

i did this on my local server pma and its working.
please give your comments.


On Sun, Mar 2, 2014 at 5:28 PM, Marc Delisle <marc at infomarc.info> wrote:

> Le 2014-03-01 18:16, Aayush Anand a écrit :
> > hi Marc,
> > i have been thoroughly going through the source code for last 4 days,
> > looking for the potential fault for not enter key not working. I was not
> > able to locate any such potential reason. Then i started thinking in
> > different way and read about issues of working of active x in IE9.
> > can it be because of that reason.?
> > if i run PMA in chrome, my esc button works same as enter button. Now
> > when i run PMA on IE9, enter doesn't work but still esc button works in
> > the same way. This may be because of keyup and keydown event handler
> > used for enter key and not for esc key.
> >
> > please tell me if i am thinking in correct direction.
>
>
> Hi Aayush,
> you might have found the cause. Note that these bug tickets are still
> there because nobody found a solution.
>
> Please tell us which exact select box you are looking at.
>
> --
> Marc Delisle
> http://infomarc.info | http://phpmyadmin.net
>
>
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>



-- 
Thanks & Regards
Aayush
2nd Year Undergraduate Student
Department of Mining Engineering
Indian School of Mines, Dhanbad
Mobile No: (+91)9162648465
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20140309/2245a58b/attachment.html>


More information about the Developers mailing list