Hi All,
Trying to figure out how to get the url contents from another frame. The frames url changes evertime the user makes a selection from a series of drop down menus. This is what I have so far.
JS code.
My JS is reading thuleConfigurator.htm url. I ned it to read the frame "config" urll. How would I do this?
TIA,
T
Trying to figure out how to get the url contents from another frame. The frames url changes evertime the user makes a selection from a series of drop down menus. This is what I have so far.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<SCRIPT language="JavaScript" src="thuleConfig.js"></SCRIPT>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="IBM WebSphere Studio">
<TITLE>thuleConfigurator.htm</TITLE>
</HEAD>
<FRAMESET ROWS="100%, 1%" frameborder=no width="100">
<FRAME SRC="[URL unfurl="true"]http://milo.tpcomm.com/thule/fg_vehicle.asp"[/URL] name="config"></FRAME>
<FRAME onload="urlChecker()">
</HTML>
JS code.
Code:
function urlChecker() {
var cnt = 0;
do {
alert("HERE 1");
var myhref = window.location.href;
alert("myhref is ... " + myhref);
alert("HERE 2");
cnt = cnt + 1;
} while (cnt < 2);
}
My JS is reading thuleConfigurator.htm url. I ned it to read the frame "config" urll. How would I do this?
TIA,
T