Any body knows how PHP My Admin shifts focus from one field to other in add new table or other forms using CTRL + DOWN ARROW keys?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When on the same row just find the closest td then switch to the previous or the next one, find the input and focus it. example with next:
When on different row find the closest tr then switch to next or previous one. Using the index of the current td find the index of the new td, find the input and focus it. exemple wih next:
I have created a jsfiddle to demonstrate.