Feel free to view the source code of this page to see how the demo is done.
Back to the AJAX upload project page
You can style button as you want
You can make a list of allowed file types
You can use Ajax Uploader with jQuery UI dialog
The Ajax Upload script works perfectly with jQuery UI dialog
This script even works inside a form