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:

PDF to Text Covert by Oracle Apex

Here are the steps to convert and get the character into a region by Oracle Apex. Step1.  Create a page and Copy-Pest the below code into Pa...