autofocus dropdown list on page load

Topics related to AppGini plugins/add-ons go here.
Post Reply
amyat
Veteran Member
Posts: 45
Joined: 2020-06-24 20:39

autofocus dropdown list on page load

Post by amyat » 2022-03-29 11:52

var dv = AppGiniHelper.DV;
dv.getField("fieldname").autofocusDirect();
dv.getField("fieldname").autofocus();

is not working on dropdown list?
what should i use for autofocus to dropdown list on page load

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1807
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: autofocus dropdown list on page load

Post by jsetzer » 2022-03-29 12:32

If I remember right the docs say this will work on normal <input/> fields only.

Current AppGini allows you to define the field to be focused on load right inside your AppGini app.
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

Post Reply