Results 1 to 2 of 2

Thread: HTML Help

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2000
    Posts
    49
    Does anybody know how to use this HTML command??

    <td><input type="file" name="fileImg" size=60 value=""></td>



    like a Browse button appears, and i want to put a .GIF file that the user select in an image <IMG src=....>.


  2. #2
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    I'm pretty sure that the file list box will show the files available at the client's end, you know that right? Well if you could find a suitable event for the file list box, like onSelect or something along those lines (I'm not sure what its events are) then you could use JavaScript or VBScript to change the image's href property to the value of the file list box (which I assume will be the file name including path that the user selects).

    I've never actually used a file list box myself, but I think that's how they work. Hope it helps some, good luck
    Harry.

    "From one thing, know ten thousand things."

Posting Permissions

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



Click Here to Expand Forum to Full Width