WEB/JavaScript

asp value(값) html과 자바스크립트 넘기기

AlrepondTech 2010. 1. 14. 18:02
반응형

 

 

 

 

 

=================================

=================================

=================================

 

 

 

 

 

 


아래 명시된 파일에 저장된 쿠키를 불러와 명시한다구할때
check_admin.asp
//--------------------------------------------------------------
<%
  admin_id    = Request.Cookies("admin_id")
  admin_name  = Request.Cookies("admin_name")

''디버깅용
''###########################################################################``
 if Mid(Request.ServerVariables("REMOTE_ADDR"),1,13) = "125.128.108.5" then
'   response.write Request.Cookies(game_cookie)("cyberoro_adult")

 end if
''###########################################################################`

%>

자바스크립트:

 <script language="JavaScript">
       var param = "";

       param =   '<%=admin_id%>;
       paran = '<%=Request.Cookies("admin_id")%>';

      alert("수정");
  </script>

html:
<html>
<body>
 <p> <%=admin_id%> </p>
 <p> <%=Request.Cookies("admin_id")%> </p>

 

 

=================================

=================================

=================================

 

 

 

 

반응형