数据库到lisbox ...好但是在改变,我需要一些帮助 [英] Database to lisbox...ok but onchange, I need some help please

查看:57
本文介绍了数据库到lisbox ...好但是在改变,我需要一些帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面的简单代码从Location字段获取数据并将它们放入lisbox。我想要做的是能够从列表中选择一个并运行一个新的功能。如何获得$ areasearch有效?

提前感谢您的任何帮助

F

The simple code below gets data from a Location field and puts them into a lisbox. What I want to do is to be able to select one from the list and run a new function. How to get $areasearch valid?
Thanks in advance for any help
F

展开 | 选择 | Wrap | 行号

推荐答案

areasearch有效吗?

提前感谢您的帮助

F
areasearch valid?
Thanks in advance for any help
F

展开 | 选择 | Wrap | 行号


@ phobia1


很难分辨,因为你没有说明表单的动作是什么。重点是在用户选择客户端(表单提交?)之后应该运行该功能。因此,您可以在处理表单或使用AJAX处理表单时执行此操作。


注意:
@phobia1
hard to tell because you didn?t tell what the form action is. the main point is that the function should be run after the user selects something (is that a form submission?) on the client side. So it is either something you do while processing the form or processing the form with AJAX.

note:


[位置] 应该是
nt[Location] should be


这篇关于数据库到lisbox ...好但是在改变,我需要一些帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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