This is confusing. I made input boxes in HTML, and included the HTML in a PHP page. I am not able to click on them to get them focused, but pressing the "tab-key" will get it working. Here is my code:
(HTML)
<div class="widget">
<h2>Login/Register</h2>
<div class="inner">
<form action="login/login.php" method="post">
<ul>
<li><b>Username:</b></li>
<li><input type="text" maxlength="25" name="username" readonly="false" value="Username">
</li>
<li><b>Password:</b></li>
<li><input type="password" name="password" readonly="false" value="Password"></li>
<li><input type="submit" value="Login" readonly="false"></li>
<li><a href="register.php">Don't have an account?</a></li>
<li><a href="recover.php">Forgot password?</a></li>
</ul>
</form>
</div>
</div>
(PHP)
include 'include/login.php';
I have tried to place readonly="false"
, that still did nothing. I am using no JavaScript in this at all. I really don't know what was going on with this. Want to see this for yourself? Go to this page that I am having trouble with, and try to click on the text fields: awsomechat.tk/home (I am not advertising, this page does actually have a problem) Any support will be accepted. (Note: you will need a browser other than IE to view the page, otherwise the page will be broken).