如何将焦点设置为表单输入

时间:2015-07-07 12:53:24

标签: html5 forms input

如何将焦点设置为特定表单输入

<? foreach($words as $word): ?>
    <form data-word="<? print $word['Word']['en_words'] ?>">

        <input autofocus type="text"/>
        <input type="submit" value="Check"/>

     </form>
    <? endforeach; ?>

enter image description here

0 个答案:

没有答案