To test the value returned by the type="file" control, put this into a tiddler: ---------------- <html><form><input type="file" onchange="alert(this.value);"></form></ html> ----------------
IE or FF2: you get the full path and filename and the input field is editable (so you can modify the value in the field or enter/paste in a completely different value, e.g., a remote URL). FF3: although the field displays the full path and filename of the selected file, the value returned to javascript is only the filename.ext portion. Also, the input field is *not* editable. Clicking into the field is handled like clicking on the 'browse...' button (i.e., it opens a file-select dialog) Safari: you *do* get the full path and filename, but the input field is *not* editable and clicking into the field is handled like clicking on the 'browse...' button. Opera: although the field displays the full path and filename of the selected file, the value returned to javascript is only the filename.ext portion. However, unlike FF3, the input field *is* editable. Note: button is labeled "choose" instead of "browse" Chrome: shows a "Choose File" button with *text* (i.e., *not* an edit field) following it. Initial text displayed is "No file chosen". Selecting a file returns the full path and filename, but *displays* only the filename.ext portion. There is no input field, so editing the result is not possible. -e Eric Shulman TiddlyTools / ELS Design Studios --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

