关于ajax下拉列表绑定的问题

编程入门 行业动态 更新时间:2024-10-28 06:28:49
本文介绍了关于ajax下拉列表绑定的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在一个国家中有两个下拉列表,在另一个国家中,当我选择国家"时,我已经使用AJAX绑定了状态,任何数据都将在第二个下拉列表中显示为一个"状态,因此当我选择状态"下拉列表时任何状态我都可以将其代码保存到其他数据库中,以便我可以进一步使用它... 在访谈中问这个问题.

I have two dropdown list in one i have Country and in another i have bind state using AJAX when i select Country any data will be shown in second dropdown list for the state one , So it is possible when i select the State dropdown any state i can save that thrgh my code in database ot other , so that i can use it further ... This question is asked in interview

推荐答案

,您不知道答案吗?您应该将其视为学习一些东西的提示,而不仅仅是尝试获得问题的具体答案.你说什么 ?即使您不确定如何,您肯定会看到可以做到的事情? 他们是在谈论AJAX还是笨拙的ASP.NET AJAX库?如果您使用AJAX调用获取状态数据,则显然使用另一个AJAX调用保存选择. And you didn''t know the answer ? You should see that as a cue to learn some stuff, not just to try to get the specific answer to the question. What did you say ? Surely you see that you could do that, even if you''re not sure how ? Are they talking about AJAX, or the crappy ASP.NET AJAX library ? If you used an AJAX call to get the state data, it seems obvious to use another AJAX call to save the selection.

更多推荐

关于ajax下拉列表绑定的问题

本文发布于:2023-10-18 03:30:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1502954.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:绑定   列表   ajax

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!