Text box automatically focus when the page is loaded

0
Hi guys, I've a very easy task and it is about automatically focusing the specific text box when the page is loaded. I've found a solution to do this with jQuery and javascript, but my client doesn't want from me to use widget 'HTMLSnipet'. After that I tried with 'Tab index' option. If I understand correctly using 'Tab index' has the influence on the page objects when the user presses the button 'Tab' on keyboard and it doesn't give the possibility to focus specific object (in my case 'Text box') on the page without pressing the button 'Tab' on keyboard? :)  Also if there is any other option to solve this easy task, please let me know :)  Kind regards, Aleksandar
asked
2 answers
3

this can be solved using the tab index.

Widget to focus first = tab index 0

Other widgets should ave tab index 1 and up. < this is key!

 

answered
3

Hi guys,

I solve the problem! Layout of my page makes a problem because objects in the layout also have the option 'Tab index'. When you change the 'Tab index' of those objects from layout to higher value, everything works correctly. 

Kind regards,

Aleksandar 

answered