document.writeln(""); document.writeln("实时行情: "); document.writeln(" "); QuoteElfDropDownInit("menu1","stock"); window.onload=function(){ var quoteelf = new CJComplete("symbol","stock","evl","menu1"); } function refurl(){ ///alert("aaaaaaaaaaa"); var myReg = /^([0-9]{4}|[0-9]{6}|[a-z]*)$/i; var inputValue = document.getElementById("symbol").value; var stockUrl = "http://summary.588588.com/default_"+ inputValue +".htm"; if(inputValue=='' || inputValue==null){ stockUrl = "http://summary.588588.com/default.htm"; } if(myReg.test(inputValue) == false) { alert("股票代码非法!") return false; } window.open(stockUrl); } document.writeln(" "); document.writeln(" ");