Icontem

File: sample.html

Recommend this page to a friend!
  Classes of Dixan Santiesteban  >  Custom Upload  >  sample.html  >  Download  
File: sample.html
Role: Example script
Content type: text/plain
Description: The Sample page
Class: Custom Upload
Generate a file upload input with a cancel option
Author: By
Last change: A short description...
Date: 6 years ago
Size: 1,153 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="upload.class.js"></script>
<title>Documento sin t&iacute;tulo</title>
</head>

<body>
<br />
<br />


<form id="form1" name="form1" enctype="multipart/form-data" method="post" action="">
<strong>Select a file: </strong><a id="uploadobject"></a>  <br />

  <input type="submit" name="button" id="button" value="Send" />
</form>
<p><br /><br />

<span id="result_box" lang="en" xml:lang="en">This class provides you a new experience with upload control in javascript</span></p>
<ul>
  <li><span lang="en" xml:lang="en">  Selection with a simple buttom</span></li>
  <li><span lang="en" xml:lang="en">  Displays the name of the file selected on the same button</span></li>
  <li><span lang="en" xml:lang="en">  a close button to delete the selected entry</span></li>
</ul>
</body>
</html>
<script>
	var u=new newupload("uploadobject");
</script>