View Full Version : Need help redirecting page with js

12-27-2010, 06:46 PM
Hi, I need help adding a redirect page function to this:

addButton('Close', function() { light.close(); },true).open();

Any idea how to do this? This is a function that closes a window, and I want to close it, then redirect to another page. Thanks in advance.

Old Pedant
12-27-2010, 09:12 PM
Since you don't show what the addButton function does, I don't see how we can guess what the right answer is.

If this is on a web page someplace, can you give us the URL? If it is not, you'll have to show more code.