PDA

Click to See Complete Forum and Search --> : How to spcify target with window.location.href???


wernerh
Feb 9th, 2001, 08:04 AM
How can I specify a target frame in a ONCLICK event of a button with the statement : onclick="window.location.href = 'mypage.asp'"

Feb 9th, 2001, 09:49 AM
call the following function in your onclick event


function openFrame(url,framename)
{
parent.frames[framename].location.href = url;
}