如何使用JqueryAjax在dropdownlist中附加数据 [英] How to append data in dropdownlist using JqueryAjax

查看:53
本文介绍了如何使用JqueryAjax在dropdownlist中附加数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用asp.net中的jQuery在dropdownlist中附加数据

解决方案

< html xmlns =http://www.w3。组织/ 1999 / XHTML> 
< head runat =server>
< title> Untitled Page< / title>

< script src =http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.jstype =text / javascript>< / script>

< script type =text / javascript>


(document).ready(function(){


< blockquote> .ajax({
type:POST,
contentType:application / json,
data:{},
url:如何追加下拉列表使用jquery ajex.aspx / getSelectList,
dataType:json,
成功:函数(数据){
var select =


Append data in dropdownlist using jQuery in asp.net

解决方案

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>

    <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.js" type="text/javascript"></script>

    <script type="text/javascript">


(document).ready(function() {


.ajax({ type: "POST", contentType: "application/json", data: "{}", url: "how to append dropdownlist using jquery ajex.aspx/getSelectList", dataType: "json", success: function(data) { var select =


这篇关于如何使用JqueryAjax在dropdownlist中附加数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆