Today, when my lab colleagues developed a web project, they encountered a very strange problem. They tried their best to find the answer and finally found that it was related to the browser. However, the further reason was not found. I hope some experts can help me solve the problem.
JSP is used for project development,Google Chrome: 27.0.1453.116
In JSP, there are the followingCode:
<Form ID = "leveltbledit"> <input type = "hidden" name = "leveltbl. oldlevelno "/> <Div class =" MTB "> role No.: <input type =" text "name =" leveltbl. leveltblpk. levelno "class =" box2 "/> role name: <input type =" text "name =" leveltbl. levelname "class =" box2 "/> <input type =" button "value =" save "onclick =" javascript: Edit (); "/> </div> </form>
Strange problem:Put these lines of code on the JSP page, open it in Google browser, click the second text box, And the cursor automatically jumps to the first text box. The same Code is normal in IE browser.
Hope!