刚刚的问题 JavaScript 调用函数怎么老是提示 找不到对象啊 ..这是整理后的问题
<SCRIPT LANGUAGE= "JavaScript ">
<!--
var SqlSelectCmd= 'select * from lemsuntable ';
function btnSimpQury_onclick() {
var QueryCmd;
var simpFiledvalue = 'lemsun ';
var simpOperator = '> ';
var simpCondition = '1000 ';
var t = '不包含 ';
var condition;
if(t == '包含 ' || t == '不包含 ' )
{
condition= 'AND '+simpFiledvalue+simpOperator+ " '% "+simpCondition+ "% ' ";
}
else
{
condition= 'AND '+simpFiledvalue+simpOperator+ " ' "+simpCondition+ " ' ";
}
alert(condition);
QueryCmd(condition);
}
function QueryCmd(condition)
{
var Scmd;
Scmd = SqlSelectCmd+condition;
document.getElementById( 'divShowResult ').innerText =condition; //Lemsun.GeneralQuery.GeneralQuery_PublicQuery.getGridViewCode(Scmd).value;
}
//-->
</SCRIPT>