[Javascript] Broken script !

RFreeman at ncb.org.uk RFreeman at ncb.org.uk
Wed Apr 3 06:47:59 CST 2002


Hi all,

First post here as I am new to jscript programming. When a certain link is
clicked, I want it to run this script and to change the top frame in my
framset (cunningly named topFrame) but it does not seem to work - any help
much appreciated.

Yours,

Rich

<SCRIPT LANGUAGE="JavaScript">
function loadframe(url) {
parent.topFrame.location="url"

}
</SCRIPT>

<a href = "#" onclick="javascript:loadframe(question.htm)">Click</a>





More information about the Javascript mailing list