View Post [edit]
Poster: | TechLord | Date: | Jan 21, 2024 12:41pm |
Forum: | general | Subject: | Uploader suggestion: go to next field using tabulator button. |
Please make it so that the tabulator can go to the next field too, and shift+tabulator should go to the previous field.
Some pseudocode to show how it could work:
file_info.addEventListener("keydown", function(key) ) {
if (! key.shiftKey && key.keyCode == 9) { // 9 means tabulator.
// code for going to next field, "! key.shiftKey" ignores the shift key.
return false; // prevents jumping to the next hyperlink
}
if (key.shiftKey && key.keyCode == 9) {
// code for going to previous field, "key.shiftKey" listens to the shift key.
return false; // prevents jumping to the previous hyperlink
}
}
Thank you very much.
This post was modified by TechLord on 2024-01-21 20:41:04
Attachment: Screenshot_2024-01-21_at_21-34-36_Upload_to_Internet_Archive.png