<script>
function formatStr(str)
{
str=str.replace(/\r\n/ig,"<br/>");
return str;
}
</script>posted @ 2007-12-05 10:40 nasdaqhe 阅读(2428) 评论(1) 编辑
|
|||
<script> function formatStr(str) { str=str.replace(/\r\n/ig,"<br/>"); return str; }![]() </script>posted @ 2007-12-05 10:40 nasdaqhe 阅读(2428) 评论(1) 编辑 <SCRIPT> function GetCookie(sName) { var aCookie = document.cookie.split("; "); for (var i=0; i < aCookie.length; i++) { var aCrumb = aCookie[i].split("="); ![]() if (sName == aCrumb[0]) return unescape(aCrumb[1]); } return null; } alert(GetCookie("uid")); </script> posted @ 2007-12-05 10:37 nasdaqhe 阅读(1731) 评论(1) 编辑 安装可选的windows组建时,提示“无法加载安装安装程序:Wbemupgd.dll,或是找不到函数0cEntry”,原因是系统环境变量path路径不正确。
解决办法:在“我的电脑”点右键,打开“属性”后面的“高级”面板,里面有一个“环境变量”,打开会看到2个变量,一个是administrator用户的变量,另一个是系统的变量,要给admistrator的变量新建一个变量,变量名:path,变量值:%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem,然后再给系统的的变量增加一个变量(如果变量PATH已经存在的话,请检查有没有%systemroot%\system32\wbem这个路径,如果有的话添加上就可以了),变量名跟变量值跟administrator的一样。 这样既全部解决 posted @ 2007-12-05 10:34 nasdaqhe 阅读(270) 评论(0) 编辑 |
|||