我们的网页设计师刚刚完成了我们的网站,它有一个带有用户名/密码文本输入的 HTML 表单和一个下拉框,因此他们可以选择登录位置。因为 HTML 没有任何可以工作的东西有了这个我不相信,最好的方法是什么?
我假设是 Javascript,但我以前从未使用过它,而且真的不知道在这种情况下要搜索什么来应用它。
当前表格代码:
<form>
<input class="binput" name="username" style="margin-left: 40px;" value="Username">
<input class="binput" name="password" value="Password">
<select class="binput" style="margin-left: 40px; width: 130px;">
<option>Billing Panel</option>
<option>Voice Panel</option>
<option>Game Panel</option>
</select>
<input type="submit" class="blogin" value="Log In">
</form>
面板 1 登录集成示例:
<form method="post" action="http://www.yourdomain.com/whmcs/dologin.php">
Email Address: <input type="text" name="username" size="50">
Password: <input type="password" name="password" size="20">
<input type="submit" value="Login">
</form>
面板 2 登录集成示例:
<form method="POST" action="http://demo.tcadmin.com/templates/default/login.aspx">
<table border="0" id="table1"><br />
<tr><td>User:</td><td><input type="text" name="USERID" size="20"></td></tr>
<tr><td>Password:</td><td><input type="password" name="PASSWORD" size="20"></td></tr>
</table>
<input type="submit" value="Submit" name="B1"><input type="reset" value="Reset">
</form>