阅读背景:

Html表单提交 - 未发送ajax生成的下拉值

来源:互联网 

I have a form embedded in a html/smarty template code. Inside a form there is a dropdown box with options populated from db. If you change an option, it calls a php script via onChange event using ajax that creates/populates 2 further dropdowns. This part works fine, but if you submit the whole form (involving original dropdown and the 2 further dynamically created ones) in case of 2 dynamically created drop-downs the key-value pairs are simply not sent to the browser despite that they are inside the tags as well.In other words it sends only the values contained the template itself and not the ones generated into "txtHint1" via ajax.I have a form embedded in a html/smarty templat




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

分享到: