Focusing on a component
If a component can be focused, it means we can move a cursor into it. The following example shows how to handle Enter keys to move a cursor to each input box. $('#name' ).on('ok', { $('#category').focus() } ) $('#category').on('ok', { $('#unit' ).focus() } ) $('#unit' ).on('ok', { $('#save' ).focus() } )








