fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Fmpq教程(fmpq.com)</title> <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"> </script> <script> $(document).ready(function(){ $(":disabled").css("background-color","red"); }); </script> </head> <body> <form action=""> 用户名: <input type="text" name="user"><br> ID:<input type="text" name="id" disabled="disabled"> 年龄: <select disabled="disabled"> <option>20-30</option> <option>30-50</option> <option>50+</option> </select> <input type="submit"> </form> </body> </html>
运行结果