public ContentResult GetIframeHeight()

{

string height = Request.Form["height"] == null ? "1000" : Request.Form["height"].ToString();

     return Content("<script>alert('sdfsdfdsf');</script>");

}


결과

<html>

<head>

<script>alert('sdfsdfdsf');</script>

</head>

<body></body>

</html>


Posted by James jangjeonghun

티스토리 툴바