I have three buttons in my .jsp file. When I run the project the first button always has focus. How can I set focus on the second button from the start?
This question belongs to forum695 ( Servlets and JavaServer Pages ). But only if you have problem understanding the JSP source.
While no server-side software can set the focus on the client side, there must be a client-side script included in the generated page. Most probably a JavaScript included from external file, but could be an inline script too. If you have difficulties modifying the JavaScript code, ask your further questions in forum216 ( JavaScript ).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.