Jump to content


Browse file window onclick

  • Please log in to reply
2 replies to this topic

#1 Thierry

  • Members
  • PipPipPip
  • Advanced Member
  • 85 posts
  • LocationNetherlands

Posted 18 September 2006 - 10:37 AM

Im having a lot of trouble with styling the button from a file input field, so I had the idea of making a separate button which will popup a "Browse..." window, let the user select their file as they would with a normal file field, and then send the URL/Location of the file (the whole C:// yadiyada) into a text field.

I just dont know the code which will allow for a file-select window to appear, any ideas?
Have you tried....a reset?

#2 degsy

  • Members
  • PipPip
  • Member
  • 20 posts

Posted 18 September 2006 - 02:22 PM

Maybe this may help

#3 fenway

  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 20 September 2006 - 12:57 PM

You could open a modal dialog, and then have a callback function, though I've never done this with an FILE input.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users