cursor - How to trigger javascript function in on_change event in Odoo -


how can trigger javascript function on_change event?

this need achieve:

  1. user input in field_1 > cursor move focus field_3

  2. user input in field_3 > cursor move focus field_1

thanks

get field dom elements , need listen event 'change', this:

<your_field1>.on('change', function() {     <your_field2>.focus()   } 

and same backward operation.

do know how declare , register js widget?


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -