You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.1 KiB
66 lines
2.1 KiB
|
|
<%@page contentType="text/html" pageEncoding="UTF-8"%> |
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
|
|
|
<html> |
|
<head> |
|
<title>JSP Page</title> |
|
|
|
<link rel="stylesheet" href="/totsys/common/css/text.css" type="text/css"> |
|
<link rel="stylesheet" href="/totsys/common/css/kecttep.css" type="text/css"> |
|
<link rel="stylesheet" href="/totsys/common/css/tabs.css" type="text/css"> |
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="/test/jquery-1.6.4.js"></script> |
|
<script> |
|
$(document).ready(function() { |
|
$.ajax({ |
|
type:"post", |
|
url:"http://localhost:8080/totsys/repoper/mydocbox/tempbox/report_regist.jsp?reportID=10006400&downDocID=null&deptID=K100000052", |
|
dataType:"html", |
|
timeout: 50000, |
|
cache:true, |
|
beforeSend:wait, |
|
complete:done, |
|
success:whenSuccess, |
|
error:whenError |
|
}); |
|
}); |
|
|
|
function wait() |
|
{ |
|
$("#ajax_indicator").show().fadeIn("fast"); |
|
} |
|
|
|
function done() |
|
{ |
|
$("#ajax_indicator").fadeOut(); |
|
} |
|
|
|
function whenSuccess(html) |
|
{ |
|
|
|
//$("#resultDIV").html(html); |
|
document.getElementById("resultDIV").innerHTML=html; |
|
|
|
} |
|
|
|
function whenError() |
|
{ |
|
alert("ERROR"); |
|
} |
|
</script> |
|
</head> |
|
<body> |
|
<div id="resultDIV"> |
|
<div id="ajax_indicator" style="display: block"> |
|
<p style="text-align: center; padding: 16px 0 0 0; left:50%; top:50%; position:absolute;"> |
|
<img src="/test/ajax-loader1.gif"/> |
|
</p> |
|
</div> |
|
</div> |
|
</body> |
|
</html>
|
|
|