Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 href 标记<a href="#somepage" target="sometarget">或更准确地从 Flash 加载 URL loadURL('#somepage', 'sometarget')。我没有删除目标的选项,因此仅限于(我假设)可用目标:_top, _self, _blank, _parent.
<a href="#somepage" target="sometarget">
loadURL('#somepage', 'sometarget')
_top
_self
_blank
_parent
我必须避免刷新页面的目标或替代方法是什么?
target="_self" 是默认值。这和根本没有目标是一样的。