Jump to content

Archived

This topic is now archived and is closed to further replies.

Thierry

Browse file window onclick

Recommended Posts

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?

Share this post


Link to post
Share on other sites
You could open a modal dialog, and then have a callback function, though I've never done this with an FILE input.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.