PageSourceSearch

https://hub.nacacnet.org/resource/1782218281000/nc__Resources/EnterSubmitForm.js

js nacacnet.org collected 2026-09-24 08:35:51 UTC 372 bytes, 11 lines download raw bytes

1// Based upon example: http://developer.force.com/cookbook/recipe/submit-a-form-with-the-enter-key
2var enterKeyCode = 13;
3
4function enterTriggerSubmit(evt, enterKeyCallback) {
5    if (window.event && window.event.keyCode === enterKeyCode || evt.which === enterKeyCode) {
6        enterKeyCallback();
7        return false;
8    } else {
9        return true;
10    }
11}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.