다음은 버튼 디자인에 대한 이전 페이지로 리다이렉션하려고하는 디자인과 코드입니다.버튼을 클릭하면 이전 페이지로 리디렉션됩니다.
<asp:ImageButton ID="btn_back" runat="server" ImageUrl="~/go_back.jpg" OnClientClick="Back()" Height="41px" Width="49px" />
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<link rel='stylesheet' href='style_demo.css' type='text/css' media='all' />
<style type="text/css">
.auto-style5 {
height: 33px;
}
</style>
<script type="text/javascript">
function Back() {
debugger;
history.go(-2);
return false;
}
</script>
</head>
<body>
는'내가이 시도 window.history.back()'또는'window.history.go (-1)' –
을 시도했지만 내가 자바 스크립트 디버거를 설정 한 – user2583182