PHP语言怀疑是否限制第二个列表框中的值 [英] PHP language doubt in fatching the values in 2nd list box

查看:62
本文介绍了PHP语言怀疑是否限制第二个列表框中的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设有两个列表框,第一个列表框包含产品类别,另一个列表框显示产品相关类别的子类别.
如何获得此相关子类别?

suppose there are two list boxes and first list box contain category of product and the other one displays the sub-category of related category of product.
How to get this related sub-category ?

推荐答案

我建​​议使用jQuery处理此类事件.请参阅:
http://en.wikipedia.org/wiki/JQuery [ http://jquery.com/ [ ^ ],
http://docs.jquery.com/Main_Page [ http://www.jqwidgets.com/jquery-widgets- documentation/documentation/jqxlistbox/jquery-listbox-getting-started.htm [ http://www.jqwidgets.com/ [ ^ ].

但是,请检查许可证,尤其是如果您是用于商业用途的许可证: http://www.jqwidgets.com/license/ [^ ].

如果您不想要它,它可以开发自己的jQuery插件以查找其他内容.

—SA
I would advise to use jQuery for processing such events. Please see:
http://en.wikipedia.org/wiki/JQuery[^],
http://jquery.com/[^],
http://docs.jquery.com/Main_Page[^].

Moreover, you can get something more advanced which is developed with some advanced handling in mind. Look at this widget, jqxListBox:
http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxlistbox/jquery-listbox-getting-started.htm[^].

It helps you to define the list box and handle selection, in particular.

This is a part of jQWidgets suite. http://www.jqwidgets.com/[^].

However, check the license, especially if you are working for commercial use: http://www.jqwidgets.com/license/[^].

If you don''t want it, it can develop your own jQuery plug-in of find something else.

—SA


这篇关于PHP语言怀疑是否限制第二个列表框中的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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