Html 表单中的目标标记不起作用
我有一个简单的搜索框表单,我希望使用target=\u top在新窗口中打开结果。我什么都试过了,到处都找遍了,但不管我怎么试,都没用。我在我的网站上使用target=\u top的很多常规链接都没有问题。我正在使用Firefox5.0 任何帮助都将不胜感激Html 表单中的目标标记不起作用,html,Html,我有一个简单的搜索框表单,我希望使用target=\u top在新窗口中打开结果。我什么都试过了,到处都找遍了,但不管我怎么试,都没用。我在我的网站上使用target=\u top的很多常规链接都没有问题。我正在使用Firefox5.0 任何帮助都将不胜感激 感谢您希望使用target=\u blank在新窗口中打开它。以下以下划线开头的值可用于超链接的目标: _blank Renders the content in a new window without frames. _parent
感谢您希望使用target=\u blank在新窗口中打开它。以下以下划线开头的值可用于超链接的目标:
_blank Renders the content in a new window without frames.
_parent Renders the content in the immediate frameset parent.
_self Renders the content in the frame with focus.
_top Renders the content in the full window without frames.
For your case you should use <a href="" target="_blank">my link</a>
我已经试过了,但都没用。不过,我确实找到了解决办法。我使用的是:form method=get target=searchstring,它来自于:input type=Text name=searchstring。谢谢