• Multiple file upload using PHP + Javascript

    Please complete the following steps:

    1
    
    1.  1. test.html
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    
    <a style="cursor: pointer;" title="Add more" onclick="AddsuppFileUpload()"><strong>Add More</strong></a>
     
    2.2 2. Test.js
     
    var counters = 1;
     
    function AddsuppFileUpload()
     
    {
     
    var i=0;
     
    // Check to see if the counter has been initialized
     
    if ( typeof AddsuppFileUpload.counters == 'undefined' ) {
     
    // It has not... perform the initilization
     
    AddsuppFileUpload.counters = 0;
     
    }
     
    // Do something stupid to indicate the value
     
    if (AddsuppFileUpload.counters

Comments on this post

Leave a Reply

  • Security Code :


    three − 1 =