02 2012 档案
摘要:<ul> <li> <input type="checkbox" value="E" id="q15_5" name="q15[]" /> <label for="q15_5"> E 其他</label> <input rel="q15_5" name="q15_5" maxLength="20" class="otherInfo o_w01&
阅读全文
摘要:<div class="faq_box"> <h3>7、希望得到更多何种类型的任务奖励?(可以选两个)</h3> <ul class="clearFix"> <li> <input type="checkbox" value="A" id="q7_1" name="q7[]" /> <label for="q7_1">A 选项A</label>
阅读全文
摘要:在Web页面上,有时我们要在文本输入框里给点提示信息,告诉用户在这个地方该输入什么内容,通常的做法就是当光标移到输入框时进行某些操作。常见的一些有:默认状态当focus的时候:代码有两种方法实现:一:<input type="text" onblur="if(this.value==''){this.value='搜索功能(可通过帐号搜索)';}" onclick="if(this.value=='搜索功能(可通过帐号搜索)'){this.value='';}" m
阅读全文
摘要:console.log()调试javascript<script type="text/javascript">function showParentNode(){ var obj= document.getElementsByTagName('dd'); console.log($(obj).parent());}</script><dl> <dt>dfd fdsf </dt> <dd onclick="showParentNode();">fd fsdf sdf
阅读全文
浙公网安备 33010602011771号