- Jul 15, 2001
- 6,899
- 63
- 91
Trying to get something outputted into a frame in HTML and having trouble with it.
<HTML>
<head>
<title>blahblah </title>
</head>
<FRAMESET rows="30%, 80%">
<frame name = "input" src= "/cgi-bin/test1.cgi">
</FRAMESET>
<h1>blahblah </h1>
<form action="/cgi-bin/test1.cgi"
TARGET = "input">
<p>MACID: <input type ="text" name="macid" MAXLENGTH="12"/></p>
<p><input type="submit" value="Search" /></p>
<p><input type="reset" value="Clear"/></P>
</form>
</HTML>
Shouldnt that work? Why does it just make a blank frame What I need to do is take in the macid and print out a debug log. The program works fine, but i wanted it to come out on the same page.
<HTML>
<head>
<title>blahblah </title>
</head>
<FRAMESET rows="30%, 80%">
<frame name = "input" src= "/cgi-bin/test1.cgi">
</FRAMESET>
<h1>blahblah </h1>
<form action="/cgi-bin/test1.cgi"
TARGET = "input">
<p>MACID: <input type ="text" name="macid" MAXLENGTH="12"/></p>
<p><input type="submit" value="Search" /></p>
<p><input type="reset" value="Clear"/></P>
</form>
</HTML>
Shouldnt that work? Why does it just make a blank frame What I need to do is take in the macid and print out a debug log. The program works fine, but i wanted it to come out on the same page.