第八稿在填报时需要实现填完一个空再继续填下一个空
主要就是对于灰度的调制
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>新建网页 1</title> </head> <body> <form name="form0" onsubmit="if (this.txt.value=='预设值是灰色'){this.txt.value='';alert('txt.value='+this.txt.value);}"> txt:<input id="txt" name="txt" type="text" value="预设值是灰色" style="color:#ddd" onfocus="if (this.value=='预设值是灰色')this.value=''" onblur="if (this.value=='')this.value='预设值是灰色'"> <input type="submit" value="OK"></form> </body> </html>
然后就是在function中设置动作就好
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
<script type="text/javascript"> $(function(){ $('#cc').combobox({ required:true, multiple:true, disabled:true, editable:flase }); }); </script>