Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div>
- <a class="link" href="#">Test</a>
- </div>
- <div>
- <input class="final" value="here" />
- </div>
- $('.link').keydown(function (e) {
- if (e.which === 123) {
- e.preventDefault();
- $(this).find('.final').focus();
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement