How to hide file location in <input type = 'file'>?

Possible duplicate:
How to hide a text field in Html File Download

I am setting up an AJAX image downloader that will allow the user to select a file, view it using AJAX, and then click the submit button to save my choice.

Due to the way my AJAX loader works, it always says “no file” even after the user has selected and viewed the image. I do not want to hide the button if the user wants to try again. I know that I could use some javascript to switch between the “select file” and “choose another” button or something similar, but I would prefer to just keep the original button so that the user does not have to click a bunch of different buttons.

Edit: I thought my question would be obvious, I think it has not been since I get close voices ...

nbtva.png

+5
source share
1 answer

, , . . JS-, , , , AJAX.

, no file chosen.

+1

All Articles