Solved

Looking for Ajax "Attach a file" / "Upload a file" Code to be used as part of contact form

Posted on 2008-06-15
3
1,109 Views
Last Modified: 2010-10-05
So basically, instead of seeing the traditional field and the browse files button, you will only see

Attach a File:         add file

And if you click on "add file" it allows you to pick a desktop file the usual way and the name of the file will appear and the page will show like this (without page refresh):


Attach a File:      filename.doc | remove |
 
Attach a File:       add file

just trying to avoid the usual boring browse file button and the text field to the left.
0
Comment
Question by:expresscam
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
dxz2 earned 500 total points
ID: 21791128
take a look here:

http://digitarald.de/project/fancyupload/
Demo: http://digitarald.de/project/fancyupload/2-0/showcase/photoqueue/

Mootools is the best javascript library I've ever used
0
 

Author Closing Comment

by:expresscam
ID: 31467477
perfect. exactly what I need.
0
 
LVL 6

Expert Comment

by:dxz2
ID: 21804671
Thanks for the points but don't forget to thank Harald(digitarald) for the great script
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question