本文介绍了关于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下拉列表绑定的问题
发布评论