日期:2014-05-17 浏览次数:20698 次
var licenseno=123
alert("licenseno="+"\""+licenseno+"\"");
if(licenseno1!=''){
condition = condition+ ',licenseno=' + licenseno1;
if(licenseno1=='123'){
condition = condition+ ',licenseno=' + licenseno1;
alert("condition="+condition);
}
}
var condition = '';
condition?=?condition+?',licenseno='?+?licenseno1;
if (licenseno == '123') {
alert('licenseno='?+?licenseno1);
} else {
alert('condition=' + condition);
}