html获取javascript中的值
<script language="javascript" type="text/javascript">
var ScreenWidth=window.screen.width;
alert(ScreenWidth);
function getValue(){
document.write(ScreenWidth);
}
</script>
html:
<script type="text/javascript">
getValue()
</script>