<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="<?php echo public_res('js/jquery-1.9.1.min.js'); ?>" type="text/javascript">
</script>
<script type="text/javascript">
function tt1() {
$("#upup").appendTo($("#iff").contents().find("body")).submit();
$("#up_name").val("uploading,please wait...");
}
</script>
</head>
<body>
<input id="up_name" value="" disabled="disabled" />
<form id="upup" action="<?php echo site_url('welcome/doupload'); ?>" method="post" enctype="multipart/form-data">
<input name="userfile" type="file" />
<input type="button" value="upload" />
</form>
<iframe id="iff">
</iframe>
</body>
</html>