【发布时间】:2012-11-04 20:19:51
【问题描述】:
是否有明确的方法可以根据用户提交的信息更改 href 中 url 的内容?
例如:用户将“篮球”一词提交到搜索框中,结果是以下链接。
<a href="http://google.com/basketball>More information</a>
如果用户提交让我们说“足球”,则链接将变为:
<a href="http://google.com/football>More information</a>
【问题讨论】:
-
你可以在这里看到答案......这是一个重复的问题......http://stackoverflow.com/questions/179713
标签: java jquery search hyperlink href