The following operations are written in the body and outside the form form
<iframe name="agentFrame" src="" width="0" height="0" style="display:none;" ></iframe> <script type="text/javascript"> function sethash(){ hashH = ; //Get your own heighturlC = "/"; //Set iframeA's src("agentFrame").src=urlC+"#"+hashH; //Pass the height as a parameter} =sethash; </script>
as follows:
<%@ page contentType="text/html;charset=GBK" language="java"%> <script> function pseth() { var iObj = ('infoFrame'); iObjH = ["infoFrame"].frames["agentFrame"].; = ("#")[1]+"px"; } =pseth(); </script>