jquery 级联下拉框实例代码
来源:互联网 发布:淘宝可靠长板店 编辑:程序博客网 时间:2024/05/01 02:44
本文章主要讲关于jquery 级联下拉框使用方法,与在使用过程中出来问题了,下面我们来看看关于jquery 级联下拉框教程吧。
<!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>jquery 级联下拉框实例代码</title>
</head><body>
<script>
$('#select1').change(function (){
$.ajax({
url:'css教程rain.jsp教程',
type:'post', //数据发送方式
datatype:'xml', //接受数据格式
data:'id=1&text='+$("select[@id='select1'] option[@selected]").text()+'&date='+new date(), //要传递的数据
error:function(json){
alert( "not lived!");
},
success: function(xml){
$("#select2").html('');//清空2号下拉框
$(xml).find("name").each(function(){
var id=$(this).attr("id"); //获取返回的id
var name=$(this).text(); //获取返回的name
$('<option value='+id+'>'+name+'</option>').appendto('#select2');…………………………………………………………………………来自:http://www.verydemo.com/demo_c110_i23910.html
- jquery 级联下拉框实例代码
- jquery级联下拉框
- JQuery实战:级联下拉框
- ajax jquery springmvc 级联下拉框
- 级联下拉框 ajax jquery springmvc
- JQuery Servlet Json 下拉框级联
- JQuery级联下拉框的实现
- jQuery实战-省市级联下拉框
- jQuery效果之级联下拉框
- JQuery——级联下拉框
- jQuery easyUI combobox下拉框 联动 级联
- 【JQuery】——级联下拉框效果
- jQuery实战5:级联下拉框效果
- js jquery 级联显示下拉框
- 使用jQuery制作级联下拉列表框
- jQuery实现级联下拉
- jquery 下拉列表级联
- jquery下拉级联菜单
- 学好.Net 为你开启一扇就业之门
- WebBrowser 源代码保存
- 用PHP实现手机对jar,jad文件的下载
- Hadoop备战:RPC机制
- Hibernate逆向工程出现Generating Artifacts错误解决
- jquery 级联下拉框实例代码
- str list 数组 map set转换
- 有关&和&&,|和||的区别
- Web IM 远程及时聊天通信程序(2)
- python并发的痛——多线程
- bat面试相关
- 在struts下如果类改变了,在从jsp往action提交的时候,就会报ja
- oracle move表释放空间
- 90后程序员妹纸教你如何搞定无聊的工作和老板