Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#deleteBtn').click(function() {
- var checkedValues = $("input:checkbox:checked", "#folderContentTable").map(function() {
- return $(this).val();
- }).get();
- checkedValues.forEach(function(current_value) {
- $.post('deleteFiles.php',{filePath : current_value},function(data){
- });
- });
- if(checkedValues.length != 0){
- $.iaoAlert({
- msg: "file/s deleted successfully",
- type: "notification",
- mode: "dark",
- autoHide: true,
- fadeTime: "500",
- closeButton: true,
- closeOnClick: false,
- position: 'bottom-right',
- fadeOnHover: true,
- zIndex: '999',
- alertClass: ''
- })
- }
- refreshFolderContentTable();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement