【发布时间】:2012-08-01 20:33:07
【问题描述】:
假设有一个 URL http://example.com/index.html/hello/hi,其中“hello”和“hi”是参数。
你将如何使用 javascript 和表单方法 POST 来提取参数?
【问题讨论】:
-
Forms 和 POST 与此无关。您只需要从 url 中提取路径的最后部分。
标签: javascript forms post methods parameters