$(document).ready(function () {
var current;///////
$(".t1").click(function () {
$(".div_n").show();
$(".yc").hide();
current = this;//////////
})
$(".t2").click(function () {
$(".div_n").show();
$(".yc").hide();
current = this;/////////////
})
$(".div_n span").click(function () {
var n = $(this).html();
$(current).html(n);/////
$(".div_n").hide();
$(".yc").show();
})
})
var current;///////
$(".t1").click(function () {
$(".div_n").show();
$(".yc").hide();
current = this;//////////
})
$(".t2").click(function () {
$(".div_n").show();
$(".yc").hide();
current = this;/////////////
})
$(".div_n span").click(function () {
var n = $(this).html();
$(current).html(n);/////
$(".div_n").hide();
$(".yc").show();
})
})
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货