Search This Blog

Saturday, October 20, 2018

Enter Key Press Change Focus to Next Item like a Tab

Enter Key Press Change Focus to Next Item like a Tab in JavaScript
Just Copy and Pest the JavaScript Code to Page>>JavaScript>>Function and Global Variable Declaration
$('body').on('keydown', 'input, select, textarea', function(e) {
    var self = $(this)
      , form = self.parents('form:eq(0)')
      , focusable
      , next
      ;
    if (e.keyCode == 13) {
        focusable = form.find('input,a,select,button,textarea').filter(':visible');
        next = focusable.eq(focusable.index(this)+1);
        if (next.length) {
            next.focus();
        } else {
            form.submit();
        }
        return false;
    }
});

1 comment:

Restrict File Upload by File Type in Oracle Apex

If you want to restrict file upload by file type/extension/format you can follow the below steps.  Goto File Browser Item --> Advanced --...