Page 1 of 1

Reload highslide by demand

Posted: Mon Apr 24, 2017 9:30 am
by jigas
Grettings.

i have a button that opens the content of the server into a named ajax window
<a
href="javascript:;"
onclick="return hs.htmlExpand(this, {
name:'this_is_my_name',
objectType: 'ajax',
width:550,
preserveContent: false,
src: '//server/data/1/'})"
/>

i want to reload the content of this named window on demand , with javascript trigger or ?

so when i update something , how i can call this to update?
<script>
function update(){
hs.this_is_my_name.refresh(); // i wish this could work
}
</script>

Re: Reload highslide by demand

Posted: Tue Apr 25, 2017 10:54 pm
by jigas
How can something like this work?

window.top.hs.getExpander('name_of_window').close();

regards