jQuery 应用(一)
一、获取动态的值
结算后可获得 0 积分,满1000积分即可参与抽奖!
$(document).on("click","#btnn",
function(){
if (parseInt($(".money #pv").text()) >= 1000) {
window.open("./choujiang/index.html");
}else{
window.open("./HomePage.html");
}
}
)
$(document).on("click","#btnn",
function(){
if (parseInt($(".money #pv").text()) >= 1000) {
window.open("./choujiang/index.html");
}else{
window.open("./HomePage.html");
}
}
)