Source

uploadInPlace / index.html

Full commit
<html>
<head>
	<script type="text/javascript" src="jquery-1.4.2-min.js"></script>
	<script type="text/javascript" src="jquery.dotimeout-min.js"></script>
	<script type="text/javascript" src="jquery.uploadInPlace.js"></script>
	<script type="text/javascript">
		
		$(document).ready(function(){
			$('input[type=file]').uploadInPlace({
				action: 'save.html', 
				success: function(){
					$('#debug').html('Houston, we have liftoff.');
				},
			});
			
		});
	</script>
</head>
<body>
<div id="files">
	<h1>uploadInPlace jQuery Plugin</h1>
	<p>A simple jQuery plugin that allows turns a basic file field into one that uploads in place.</p>
	
	
	<h2>Usage</h2>
	<pre><code>
	$(document).ready(function(){
		$('input[type=file]').uploadInPlace({
			action: 'save.html', 
			success: function(){
				$('#debug').html('Houston, we have liftoff.');
			},
		});
		
	});
	</code></pre>
	
	<h2>Example</h2>

	<input type="file" name="myFile" />
	<input type="file" name="myFile2" />
	
	<h3>Results</h3>
	<div id="debug"></div>

</div>


</body>
</html>