javascript记录
客户端用javascript获得dropdownlist的值
var ddl=document.getElementById("DropDownListID");
var a=ddl.options[ddl.selectedIndex].value;
js字母大小写转换
str = str.toUpperCase() //大写
str = str.toLowerCase() //小写
//取得FileUPload的文件名
var s = document.getElementById( "FileDown" );
alert(s.value.match(/([^\\\/]*)$/)[1]);
fileupload事件
onpropertychange="checkDownName(escape(document.getElementById('FileDown').value.match(/([^\\\/]*)$/)[1]));"
ifram框架整个刷新
Response.Write( "<script>parent.location.reload();</script>" );
ifram刷新Product_Left框架
Response.Write( "<script>parent.frames['Product_Left'].location.reload(true);</script>" );
var ddl=document.getElementById("DropDownListID");
var a=ddl.options[ddl.selectedIndex].value;
js字母大小写转换
str = str.toUpperCase() //大写
str = str.toLowerCase() //小写
//取得FileUPload的文件名
var s = document.getElementById( "FileDown" );
alert(s.value.match(/([^\\\/]*)$/)[1]);
fileupload事件
onpropertychange="checkDownName(escape(document.getElementById('FileDown').value.match(/([^\\\/]*)$/)[1]));"
ifram框架整个刷新
Response.Write( "<script>parent.location.reload();</script>" );
ifram刷新Product_Left框架
Response.Write( "<script>parent.frames['Product_Left'].location.reload(true);</script>" );