本文介绍了功能不正常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<input id="CHAMPARAN_EAST" name="CHAMPARAN EAST" onclick="SearchDistict('CHAMPARAN EAST');" type="checkbox" value="34">
function SearchDistict(obj)
{
debugger;
if (obj.checked)
{
districtCollection.push(obj.value);
}
else {
districtCollection.pop(obj.value);
//districtCollection.splice($.inArray(obj.value, districtCollection),1);
}
var postData = preparingSearch();
debugger;
postData.StateList = '';
postData.DistrictList = districtCollection;
SearchEngine();
//CallSearchBorrower(postData);
}
当我们调用SearchDistict('CHAMPARAN EAST')它的工作但它不会调用if语句
when we call SearchDistict('CHAMPARAN EAST') its work but it not invoke if statement
推荐答案
当我们调用SearchDistict('CHAMPARAN EAST')它的工作但它不调用if语句
when we call SearchDistict('CHAMPARAN EAST') its work but it not invoke if statement
<input id="CHAMPARAN_EAST" name="CHAMPARAN_EAST" onclick="SearchDistict('CHAMPARAN_EAST');" type="checkbox" value="34">
function SearchDistict(obj)
{
var ctrl =
这篇关于功能不正常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!