How to place the cursor (auto focus) in text box when a page gets loaded without javascript support?

后端 未结 6 458
野趣味
野趣味 2020-12-04 17:26

I have a form with some text fields,and I want to place the cursor (auto focus) on first text field of form when page gets loaded.

I want to do it without usi

6条回答
  •  暖寄归人
    2020-12-04 17:57

    
    
    formname is 
    and name is it works for me, checked using IE and mozilla. autofocus, somehow didn't work for me.

提交回复
热议问题