jahlxx Posted May 30, 2023 Share Posted May 30, 2023 Hi. In an htmlframe, I load an html file that contains an html form. All is OK, and correctly shown, but when I press Tab key, the focus don't move between html form elements, it moves between unigui elements. How can I solve this? Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 4, 2023 Share Posted June 4, 2023 Hello, It seems there was a similar question on the forum... Can you make a simple test case? Quote Link to comment Share on other sites More sharing options...
Norm Posted June 4, 2023 Share Posted June 4, 2023 Are you sure the form input fields are not accidentally set to "readonly"? Try this to verify: After loading the html make sure focus is set to the required input field. You can either use the "autofocus" attribute, e.g. <input type="text" id="name" autofocus> or insert the following script at the end of the body tag of your html. <script> $(document).ready(function(){ $('#name').focus(); }); </script> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.