关于ajax下拉列表绑定的问题 [英] Question on ajax dropdown Binding

查看:54
本文介绍了关于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下拉列表绑定的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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