how to upload files with only 1 button

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Does anyone have a solution to use the <input type="file"
id="filechooser"> and the <input type="submit" id="submitbutton"> in 1
button click?

I've already tried to create a javascript function behind the
submitbutton click. In this function i call the
event and after this i call the functions to activate the progressbar
of the upload.
This doesn't seems to work:(
Has anyone got an idea of what i can do?

Site Timeline