DIV를 클릭하면 Tab 키를 눌러 입력 필드에서 다음 입력 필드로 이동해야합니다. JQUERY Simulating 사용자가 DIV를 클릭 한 후 Tab 키를 누릅니다
나는이 코드를 시도했지만 작동하지 않습니다 :이 작업을 수행하는 많은 다른 방법, .focus이 (가 알고$("#change_logo").click(function() {
e = jQuery.Event("keydown");
e.which = 9;
// This is the ID of the input where I want to simulate the "Press TAB Key"
// and then I will go automatically to the following input which ID is
// #newsletter_section_title2
$("#newsletter_section_title1").trigger(e);
});
) 등 다른 이유로 나는 그것을 할 필요가 방법 적 누르면 Tab 키를 시뮬레이션 (하지만 사용자가 탭을 누르지 않고, 사용자는 div 만 클릭).
누구나 어떻게 할 수 있습니까?
많은 감사, 다니
하나는 ... 나도 매우 궁금하다. – MvanGeest