//---表单提交----
$("#destiation_form").submit(function(){
var from_city_value=$("#from_city").val();
if(from_city_value.indexOf('MFM')>0){
$("#to_city").attr("value","");
}
var to_city_value=$("#to_city").val();
if(from_city_value==''){
//显示提示错误信息
return false;
}else if(to_city_value==''){
//显示提示错误信息
return false;
}else{
return true;
}
});

相关文章:

  • 2021-12-12
  • 2021-12-12
  • 2021-04-12
  • 2021-04-28
  • 2021-12-31
  • 2021-07-19
  • 2022-12-23
猜你喜欢
  • 2021-12-12
  • 2021-12-12
  • 2021-12-12
  • 2021-12-12
  • 2021-12-14
  • 2021-12-12
  • 2022-12-23
相关资源
相似解决方案