这是一款简单的投票系统,可以选择名字和票数根据这个会做数据统计百分比。比较使用界面可以自行更改。
$(function(){
$('.votedel').live("click", function(){
vote_count--;
$(this).parent().remove();
});
$("#addchoice").click(function(){
if(vote_count<vote_max){
if(vote_count>6){
$("#vote").css("height",$("#vote").css("height")+35);
}
vote_count++;
$('<li class="votechoice">'+
'<input type="text" name="choice"/><span class="votedel" title="删除"></span></li>')
.insertBefore(".addchoice");
}
系统已开启自动识别垃圾评论机制,识别到的自动封号,下载出错或者资源有问题请联系全栈客服QQ 1915635791