location 物件的href 是個屬性,屬性需要直接指定其值,例如: ... <a href="#" onclick="location.href='a.htm'">location.href='a.htm';</a> | <a ...
確定! 回上一頁