Tag Archives: Ajax Upload using iframe

Ajax Upload using iframe

Posted on 23. Apr, 2009 by admin.

0

You need to create a form with file fields you wish to upload and define “onsubmit” event. Look at the example below how to do that.
Tested in IE5.5+, FF1.0+, OP 8.0+
Source code for index.html
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en-US” lang=”en-US”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
<title>Iframe Ajax</title>
<script type=”text/javascript” src=”webtoolkit.aim.js”></script>
<script type=”text/javascript”>
function startCallback() {
// make [...]

Continue Reading

Get Adobe Flash playerPlugin by wpburn.com wordpress themes