![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jquery
文章平均质量分 73
abinxm
这个作者很懒,什么都没留下…
展开
-
jquery点击后显示隐藏切换
$(document).ready( function(){ $("li[name=question]+li[name=answer]").hide(); $("li[name=question]").bind(click,function(){ var theAnswer=$(this).next("li[name=answer]原创 2009-02-12 00:34:00 · 2066 阅读 · 1 评论 -
javascript外加jquery中$.getJSON
header(Content-Type:text/html;charset=utf-8); if(isset($_GET[depid])){ //$depinfo=array(); echo "[{depid:-1,depname:请选择},{depid:1,depname:开发},{depi原创 2008-12-15 22:23:00 · 495 阅读 · 0 评论 -
jquery的DOM操作,JSON数据格式
<?php if( isset($_POST[action]) && $_POST[action] == getdata){ $mydata = array(); for($tmpCount = 0;$tmpCount <10;$tmpCount++){ $mydata[]=array( d1=>rand(1,20),d2=>rand(21,40),d原创 2009-03-10 11:02:00 · 797 阅读 · 0 评论