exally Posted September 5, 2008 Share Posted September 5, 2008 Hello, I have a website I am working on http://easternwell.spinewmedia.com.au/careers/app-form.php?id=12 that is basically a dynamic form - as in a user can add there own items etc etc. One of these items requires that a file/s can be uploaded. This works fine in IE 7 and Opera 9.5; However in Firefox and Safari after uploading the first file (which u are then provided with a button to delete the file) every time you click 'Browse' or the safari equivlent it calls the 'X' button. I have no idea why this could be, has anyone had similar experience? Quote Link to comment https://forums.phpfreaks.com/topic/122835-browse-calls-input-button/ Share on other sites More sharing options...
sKunKbad Posted September 6, 2008 Share Posted September 6, 2008 I tested with Firefox 2 on Win XP Pro and works fine for me... Quote Link to comment https://forums.phpfreaks.com/topic/122835-browse-calls-input-button/#findComment-635050 Share on other sites More sharing options...
exally Posted September 7, 2008 Author Share Posted September 7, 2008 thanks Quote Link to comment https://forums.phpfreaks.com/topic/122835-browse-calls-input-button/#findComment-636193 Share on other sites More sharing options...
exally Posted September 8, 2008 Author Share Posted September 8, 2008 i have fixed this problem... i changed the code around to have the input file first rather than the existing files... Apparentyl the error stems from FireFox 3 and Safari setting the first button/submit to be the default button, and for some reason when i was clicking 'Browse' or 'Choose file' it was calling the default button Quote Link to comment https://forums.phpfreaks.com/topic/122835-browse-calls-input-button/#findComment-636207 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.