标签: 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; ?>