How can I specify a target frame in a ONCLICK event of a button with the statement : onclick="window.location.href = 'mypage.asp'"
Printable View
How can I specify a target frame in a ONCLICK event of a button with the statement : onclick="window.location.href = 'mypage.asp'"
call the following function in your onclick event
function openFrame(url,framename)
{
parent.frames[framename].location.href = url;
}