选项卡效果
$(function () {
//用户中心Tab选项卡
var $tab_li = $(".tab li");
var $tab_box = $(".box .con");

$tab_li.click(function () {

$(this).addClass("active")
.siblings()
.removeClass("active");
var index = $tab_li.index(this);
$tab_box.hide();
$tab_box.eq(index).show();
});
省市联动
GetAreaJson(0, $("#province"));
//$("#province").change(function() {

//});
$(".con").find("select").change(function () {
$(this).parent().nextAll().find("select").find("option").remove();
$(this).parent().nextAll().find("select").append("<option value='-1'>请选择</option>");
GetAreaJson($(this).find("option:selected").val(), $(this).parent().next().find("select"));
});

相关文章:

  • 2022-12-23
  • 2021-08-13
  • 2022-01-03
  • 2022-12-23
  • 2021-04-08
  • 2021-11-29
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案