0

I need to use the plain text to open a browse-window. When you click on some words (for example 'upload an image') browse-window shows up and you can choose an image you want to upload. But there should be no forms visible. Just plain text as a link that opens browse-window.

Pigalev Pavel
  • 1,155
  • 1
  • 15
  • 29
  • Please be more clear on what you need, this is not descriptive on what you need at all. Just tell us the problem, and what you actually want to happen. – greduan Oct 06 '12 at 00:23
  • http://stackoverflow.com/questions/5813344/how-to-customize-html-input-type-file – VictorKilo Oct 06 '12 at 00:29

2 Answers2

1

ppk wrote a nice walkthrouh called Styling an input type="file".

chelmertz
  • 20,399
  • 5
  • 40
  • 46
1

You can simply hide the file upload field and invoke it via JavaScript.

Fiddle here: http://jsfiddle.net/kboucher/FhpnF/

Kevin Boucher
  • 16,426
  • 3
  • 48
  • 55