<input type="file"> will open a file open dialog when clicked.
I want to open the same file open dialog, with the button only (no input text) and with Open text on the button (not Browse) - any ideas?
joval 0 Newbie Poster
Recommended Answers
Jump to PostThe file field is not a button + text input field - it's one thing. Using a button to open the dialog box - why? The file field does more than just store a filename. Sorry if you knew that already.
Jump to PostThis is what I want, but is there simpler a way to implement it without the prototype/ajax stuff?
Don't know. I don't think the prototype stuff is too complex. You're asking the thingummy to do a lot (open 'open dialog', attach file, upload file, report when successful).
All 8 Replies
emhmk1 1 Junior Poster
joval 0 Newbie Poster
emhmk1 1 Junior Poster

diafol
joval 0 Newbie Poster

diafol
joval 0 Newbie Poster

diafol
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.