Hello all,
On my page, I have a link, that opens a new window. There is a selection of colors in the new window, and when I click on a color, it closes this small window and updates a textbox on the main page. This works fine, however, now I would like to call a function on a main page, instead of updating form control. Is it possible? Could anyone give me some example?
I would appriciate any help.
Thanks a lot, Mike.
function SelectColors(thisColor) {
window.opener.<%=Request["fn"]%>.<%=Request["tn"]%>.value += "["+thisColor+"]type here[/font]";
window.close();
}
function Close() {
self.close();
}
On my page, I have a link, that opens a new window. There is a selection of colors in the new window, and when I click on a color, it closes this small window and updates a textbox on the main page. This works fine, however, now I would like to call a function on a main page, instead of updating form control. Is it possible? Could anyone give me some example?
I would appriciate any help.
Thanks a lot, Mike.
function SelectColors(thisColor) {
window.opener.<%=Request["fn"]%>.<%=Request["tn"]%>.value += "["+thisColor+"]type here[/font]";
window.close();
}
function Close() {
self.close();
}