PHP - 通过查询字符串传递下拉列表选项
我有一个下拉列表,其中包含需要通过查询字符串传递的选项。我该怎么做呢?另外,有人能列出一种使用按钮和不使用按钮来执行此操作的方法吗?谢谢你!
I have a drop down list that has options that need to be passed through a query string. How would I go about doing this? Also, would anyone be able to list a way to do this both using a button and without using a button? Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
根据 Jani 的回复,您是否希望在没有按钮的情况下提交表单,但如果用户没有 javascript,仍然有一个备份按钮?您可以使用
noscript
来覆盖:Based on Jani's response, are you wanting to have the form submit without a button but still have a backup button if the user doesn't have javascript? You can use
noscript
to cover that:没有按钮:
Without a button: