Thierry Posted September 18, 2006 Share Posted September 18, 2006 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? Link to comment https://forums.phpfreaks.com/topic/21138-browse-file-window-onclick/ Share on other sites More sharing options...
degsy Posted September 18, 2006 Share Posted September 18, 2006 Maybe this may helphttp://www.quirksmode.org/dom/inputfile.html Link to comment https://forums.phpfreaks.com/topic/21138-browse-file-window-onclick/#findComment-93974 Share on other sites More sharing options...
fenway Posted September 20, 2006 Share Posted September 20, 2006 You could open a modal dialog, and then have a callback function, though I've never done this with an FILE input. Link to comment https://forums.phpfreaks.com/topic/21138-browse-file-window-onclick/#findComment-95268 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.