新浪微博 登陆  注册   设为首页 加入收藏

学PHP >> 最新源码 >> ajaxed list boxes 列表

ajaxed list boxes 列表

查看次数40512 发表时间2010-06-16 23:29:42

程序名称:AJAXed list boxes
开发者/组织名称:Panos Kyriakakis
运行环境:php+mysql,php+文本
官方网站:http://www.salix.gr/
下载地址:
请下载附件中的源码,不要直接复制 (已下载 606 次)

文章来源:http://www.OSphp.com.cn
程序介绍:
This package can be used to generate Web form with linked select inputs.
It generates select inputs that switch their group of options dynamically when the linked select input value is changed.
//OSPHP.COm.CN

The class uses AJAX to retrieve the new group of options from the server, so it can retrieve the option values from a database on the server side.
It can link an unlimited number of select inputs.

In the same file sc_classes.php there is an other class. Called sc_form_elements. Used partialy from sc_ajax_select_boxes. It is a nice form helper class. Adds select boxes, radio groups and check box groups. It is usual to have options on db and have to populate with them select boxes, or show a list of radio buttons or a list of checkboxes. The routine is to query the database and loop throu the selected rows and add elements to the form. sc_form_elements class comes to save time rewriting that peace of code again and again, but still have control over the form.
(转发请注明转自:学PHP)    


  相关推荐



1楼 -1'说: 2016-03-22 00:36:51
1
2楼 学phper说: 2016-08-14 03:43:35
-1'
3楼 学phper说: 2016-08-14 03:43:36
1
4楼 -1'说: 2016-08-14 03:43:36
1

  发表评论
昵称:
(不超过20个字符或10个汉字)
内容: