mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
add attendance
This commit is contained in:
@@ -372,3 +372,15 @@ document.getElementById("giftselect").disabled = true;
|
||||
document.getElementById("giftcustom").disabled = false;
|
||||
}
|
||||
}
|
||||
// settings.php
|
||||
function NewRow(anchor,up){
|
||||
var thisRow = anchor.parentNode.parentNode;
|
||||
var newRow = thisRow.cloneNode(true);
|
||||
var InputBoxes = newRow.getElementsByTagName("input");
|
||||
for(i=0; i<InputBoxes.length; i++) InputBoxes.item(i).value = "";
|
||||
var position = up ? "beforeBegin" : "afterEnd";
|
||||
thisRow.insertAdjacentElement(position,newRow);
|
||||
}
|
||||
function DelRow(anchor){
|
||||
anchor.parentNode.parentNode.parentNode.parentNode.deleteRow(anchor.parentNode.parentNode.rowIndex);
|
||||
}
|
||||
Reference in New Issue
Block a user