First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,24 @@
|
||||
|
||||
$(document).on('click', '.admin-access', function() {
|
||||
var spanID = $(this);
|
||||
var rnum = $(this).attr('rnum');
|
||||
var Val = $(this).html();
|
||||
var newVal = 'Y';
|
||||
|
||||
if (Val == 'Y') {
|
||||
newVal = 'N';
|
||||
}
|
||||
alert(newVal+' - '+rnum);
|
||||
|
||||
var data = "table_name=admin_user_access"+
|
||||
"&sequence_flag=N"+
|
||||
"&record_num="+rnum+
|
||||
"&access="+newVal;
|
||||
|
||||
$.getJSON("ajax.DataRecord.Update.php", data,
|
||||
function(results) {
|
||||
$(spanID).html(newVal);
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user