SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Feb 2005
    Posts
    312
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to duplicate this code

    Heey,

    My javascript is quite rusty.

    how do i get this code to be duplicated below it with the counting number changed?

    PHP Code:
    <tr>
    <
    td><br>Fotos: <br><span class="subtext">Tussen de 3 of 8 fotos doet het leuk.</span></td>
    <
    td colspan="3"><input type="file" name="company['foto']['1']" size="15"></td>
    </
    tr
    So duplicate below it and then replace company['foto']['1'] with company['foto']['2']

  2. #2
    SitePoint Addict Mirek Komárek's Avatar
    Join Date
    Dec 2006
    Location
    Prague
    Posts
    210
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe I dont understand what you mean? Something like this http://www.the-stickman.com/web-deve...-file-element/


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •