我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何将<select>与<table>集成?

Here is jsFiddle

Is it possible, to make table react like select? I need to make product list where user chooses an element and then sends value from that table?

Putting <table> within <select> isn't what I am looking for because I can't show multiple columns like I want them to apear!

I don't want to use any jquery or similar things, because I need to keep it as simple as I can!

Assuming i got that straight, what you need to do is wrap each row in anchor tags and set the onclick method to something you need

近期文章

  • CakePHP Auth.redirect没有被写入
  • 使用Get方法取消jQuery
  • 如何使用另一个表中的数据更新表
  • 将Android设备上的数据库同步到远程主数据库
  • 使用启用/禁用过滤器变量的MySQL PDO创建SQL查询
  • 如何在php中回显xml?
  • 停止SQL注入[重复]
  • GPS坐标转换 - PHP
  • 编码检测php
  • 正确的PHP标头用于下载存储的文件
  • 如果我每次调用控制器时初始化codeigniter会话,任何设置都会回退吗?
  • 如何按所使用的数组顺序显示哪个元素?
  • Magento促销规则
  • Zend Gdata Calendar API返回“不支持3.0版”。
  • 如何使用请求向php脚本发布请求并在目标C中发布变量
  • 无法通过Ajax添加到数据库
  • PHP:三个时区的时差与时间的关系
  • 如何使Zend自动切换视图和布局与上下文?
  • 除非多个db_connect();否则SQL无法正常工作 声明
  • 内部while循环不工作..它仅限于一行[重复]

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华