mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 09:59:10 +00:00
Delete scripts.js
This commit is contained in:
parent
5a0fe35f86
commit
47cce54b3b
@ -1,28 +0,0 @@
|
||||
var currentPageNum=0;
|
||||
var contentArray=[];
|
||||
$(document).ready(function(){
|
||||
$("#add").click(function(){
|
||||
var x = $('.formNavi').length;
|
||||
$("#add").before("<div class='formNavi'><input type='text' name='' value='Page "+x+"'></div>");
|
||||
$("#add").text="+";
|
||||
contentArray.push([]);
|
||||
currentPageNum=x-1;
|
||||
});
|
||||
});
|
||||
$(document).ready(function(){
|
||||
$("#RemPage").click(function(){
|
||||
if($(".formNavi").length>1){
|
||||
$(".formNavi:nth-child("+(currentPageNum+1)+")").remove();
|
||||
$("#add").text="+";
|
||||
contentArray.splice(currentPageNum,1);
|
||||
currentPageNum--;
|
||||
}
|
||||
});
|
||||
});
|
||||
$(document).ready(function(){
|
||||
$("#newQ").click(function(){
|
||||
$("#svb").before("<div class ='question'>");
|
||||
$("#add").text="+";
|
||||
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user