quangthang2004 Posted February 14, 2012 Share Posted February 14, 2012 Dear all, I am trying to make a plugin for uploading image , file or soemthing like that. Could anyone give me some snippet code or a simple demo about this . Moreover, I have read some document about event but I am not clear such as buble and capture. As you know, Buble event is considered occurance if the event go from children to parent but Capure one is reserve. So Please help me to know deeper about these. Thanks in advance and I wish all have a good valentine day Link to comment Share on other sites More sharing options...
justsomeguy Posted February 14, 2012 Share Posted February 14, 2012 There's a description about using PHP to process file uploads here: http://www.w3schools.com/php/php_file_upload.asp Javascript alone can't handle file uploading. Even an upload form that uses ajax would typically have the form do a regular submit to a hidden iframe and try to capture the response from the server. This page describes event bubbling vs. capturing: http://www.quirksmode.org/js/events_order.html Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.