tags:

views:

97

answers:

1

I am using Highslide popup. I want to close the popup on button Click. The button is inside the page. For opening hs.htmlExpand(this, { src: 'add_image.php', objectType: 'iframe' } ) used this function it is opening.

When Closing used this But it is not working.

Thanks in advance.

A: 

use this:

<input id="Button1" type="button" value="Cancel" onclick="javascript:parent.window.hs.close();" />  
OPontes