PDA

View Full Version : Correct this syntax.


Hawk
07-20-2002, 12:16 AM
<frame src="./menu.html" name="frm_Menu" frameborder="No" NoResize scrolling="NO">
<frame src="./Test.html" name="frm_Body" frameborder="No" NoResize>
'-----------------------------------------
The following is in menu.html. Basically, I am calling a function in Test.html.

<input type="button" value="Find" onclick="parent.frm_Body.f_Search(txtString.value);">

Everything works fine here.




Here is the problem. If I change test.html to an asp page, that function cannot be called.

<frame src="http://localhost/db.asp" name="frm_Body" frameborder="No" NoResize>

Any ideas???

Hawk
07-20-2002, 01:24 AM
I found out the problem. Just in case someone run into the same problem in the future, they can refer here.

Basically, delete this and replace it with a period. "http://localhost"