i'm trying to set autofocus on my input form, i'm confused to apply existing example to my program.. please anybody help me. thanks.
<body>
<div id="wrapper">
<div id="text">
<h2>Login</h2>
<?php
echo form_open('login/validateform');
echo 'user name';
echo form_input('username', '');
echo 'password';
echo form_password('password', '');
echo form_submit('submit', 'Login');
</div>
</body>