moss jscript

<asp:Content id="Content1" runat="server" contentplaceholderid="PlaceHolderMain">
<script type="text/jscript"> ---重点
function Wop(url)
{
window.alert(url);
window.open(url);
}
</script>
   <a onclick="Wop('http://china.com')">OPEN</a>   
</asp:Content>

你可能感兴趣的:(script)