If I try to get a filename value from an HTML input object in IE it returns the full path and filename, but in Chrome it only returns the base filename. Is there a way to make it return the full path and filename regardless of the browser, or do I have to jump over to something like JQuery to do that? God almighty I HATE stupid non-standard web "standards".
Code example:
<input type="file" name="fn" id="fn"/>
Click on the selection button in IE and navigate to a path like "\server123\apps\folder1\setup.exe" and the result that shows in the form, and gets processed in the [submit] handler event, is also "\server123\apps\folder1\setup.exe". However, running the same steps in Chrome 22.x up to 28.x, it only displays "setup.exe" and hands that through the [submit] handler even as well. Is there a way to make it handle the full path and filename regardless of the browser?