CF链接选择 [英] CF Chained Selects

查看:183
本文介绍了CF链接选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


有没有人知道CF中有一个像样的链式选择脚本?我想要一个仍然可以接受来自数据库的查询值的人。


我在EasyCFM上找到了一个优秀的脚本,但是因为它使用了一个表单我不能让它工作使用我在页面上的现有表单 - 单击下拉列表执行我的表单的onSubmit操作,它出错。

Hi there,

Does anyone know of a decent chained selects script in CF? I''d like one that can still accept query values from the database.

I found an excellent script on EasyCFM but because it uses a form I can''t get it to work with my existing form on the page - clicking the dropdown executes the onSubmit action of my form and it errors out.

展开 | 选择 | 换行 | 行号

推荐答案

用表单和元素替换表单。你的表单是什么样的?
Replace the form with your form and elements. What does your form look like?


我的表单是一个简单的记录填充一个但有一些onSubmit javascript运行一些错误检查的东西。我已经尝试替换元素,但表单只是更改下拉列表而不是将值返回到数据库。
My form is a simple record filling one but has some onSubmit javascript that runs some error checking stuff. I''ve tried replacing the elements but the form just changes the dropdown instead of returning the values to the database.


你能为它发布代码吗?


这篇关于CF链接选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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