You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
515 B
JavaScript

2 years ago
/**
* <EFBFBD><EFBFBD>̳<EFBFBD><EFBFBD>ҳ<EFBFBD>л<EFBFBD>
* @dependencies <EFBFBD><EFBFBD><EFBFBD><EFBFBD>jquery
*/
$(document).ready(function(){
var $newCode=$(".gift-con .newCode");/*<2A><><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD>*/
var $newtGift=$(".gift-con .newtGift");
$newCode.click(function(){
$(this).addClass("on");
$newtGift.removeClass("on");
$("#newCodeList").show();
$("#newGiftList").hide();
});
$newtGift.click(function(){
$(this).addClass("on");
$newCode.removeClass("on");
$("#newCodeList").hide();
$("#newGiftList").show();
});
});