G
Guest
I am using the following code to open another .aspx page
function viewCart() {
window.open('ShoppingCart.aspx')
}
The above function is attacked to the onClick event of a button.
However, when I use following code attached to a button on the newly opened
page, it just reposts. Basically the page should be closing itself.
function CloseCart() {
self.close;
}
All suggestions from previous posts that I could find have not worked.
Anyone know how to really do this?
WR
function viewCart() {
window.open('ShoppingCart.aspx')
}
The above function is attacked to the onClick event of a button.
However, when I use following code attached to a button on the newly opened
page, it just reposts. Basically the page should be closing itself.
function CloseCart() {
self.close;
}
All suggestions from previous posts that I could find have not worked.
Anyone know how to really do this?
WR