阅读背景:

包括使用ColdFusion的HTML表单中的ajax检索的select输入

来源:互联网 

I have AJAX that loads a drop-down menu of teams within a selected department, and then another with agents within that selected team. I'd like to be able to submit the form and use the agent selected in the last dropdown (#form.selectAgent#) to set a variable (#empHistoryRACF#) & run a query. I am able to see both of the dropdowns with AJAX-queried content as I fill out the form, but their values are not being submitted on post, although the submit button (non-AJAXed) is. Oddly, there is another section of my app that does the same thing with the same type of code, and it works fine. I tried commenting that section of the app out, but form.selectAgent is still not defined. I'm using ColdFusion 10 and the following code.I have AJAX that loads a drop-down menu of team




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: