摘要:验证码
阅读全文
|
12 2009 档案
摘要:第一种: <script language=”javascript” type=”text/javascript”>window.location.href=”login.jsp?backurl=”+window.location.href;</script>第二种: <script language=”javascript”>alert(”返回”);windo...
阅读全文
摘要:<html><head><script src="jquery-1.3.2.min.js" type="text/javascript"></script></head><body><input type="checkbox" name="chk_list" id="chk_list_1" value="1" />...
阅读全文
摘要:jQuery-Radio-byNet 此博文转自: http://www.cnblogs.com/bynet/archive/2009/11/16/1603769.html 原作者:code-cat jQuery获取Radio选择的Value值: jQuery C# VB C++ Java jQuery设置Radio的Value值: 语法解释: 1. $("input[name='radio_n...
阅读全文
摘要:此博文转自:http://www.cnblogs.com/bynet/archive/2009/11/16/1603769.html 原作者:code-cat jQuery获取Select选择的Text和Value: 选择一项试试看 语法解释: 1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触...
阅读全文
摘要:1. #id用法定义:根据给定的ID匹配一个元素。返回值:Element参数:id (String) : 用于搜索的,通过元素的 id 属性中给定的值实例:将ID为"div_red"的DIV的边框改为红色代码:$("#div_red").css("border","red 2px solid"); //点击按钮一将执行这句代码 扩展:#id中的id可以是页面任何元素的id,如input,btuuo...
阅读全文
|