Is it possible to achieve a similar effect to gmails attachment feature using javascript? When you attach a file, you can click "Attach another file" and another file input box will appear. How can I have javascript display a new input box with an incremented name.

Is this an AJAX application?

I can handle the processing side with php, but I know little javascript (mostly coding basics).