Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux server551.iseencloud.net 5.14.0-570.33.2.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 14 07:37:35 EDT 2025 x86_64
User : pbkvidya ( 2092)
PHP Version : 8.1.33
Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open
Directory :  /home2/pbkvidya/public_html/pbkv.in/admin/ajax/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home2/pbkvidya/public_html/pbkv.in/admin/ajax/ajax.js
     $(document).on('click','.update',function(e) {
			var id=$(this).attr("data-id");
			var catname=$(this).attr('data-catname');
			var describe=$(this).attr("data-description");
			var imgpath=$(this).attr("data-image");
			$('#id_u').val(id);
			$('#category_u').val(catname);
			$('#description_u').val(describe);
			$('#image_u').val(imgpath);
			$("#image_u1").attr("src", imgpath);

		});

		$("#update").click(function() {			
			var data = $("#update_form").serialize();
			$.ajax({
				data: data,
				type: "post",
				url: "save.php",
				success: function(dataResult){
          var dataResult = JSON.parse(dataResult);
          if(dataResult.statusCode==200){
             alert('Data updated successfully !'); 
            // $('#editCategoryModal').modal('hide');
                  location.reload();  
                 
                                  
          }
          else if(dataResult.statusCode==201){
             alert(dataResult);
          }
        }
    });
		});

Al-HUWAITI Shell