<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title></title> <script language="javascript" src="script/jquery-1.2.6.min.js" src="script/jquery-1.2.6.min.js"></script> <script language="javascript"> $(document).ready( function(){ $("li[name='question']+li[name='answer']").hide(); $("li[name='question']").bind('click',function(){ var theAnswer=$(this).next("li[name='answer']"); $("li[name='question']+li[name='answer']").not(theAnswer).hide(); if(theAnswe
以上就是冷傲舞蹈最近收集整理的关于jquery点击后显示隐藏切换的全部内容,更多相关jquery点击后显示隐藏切换内容请搜索靠谱客的其他文章。
发表评论 取消回复