Response title
This is preview!
$(
'.textButtonReset').click(function() { // var api = $("a[rel]").data("overlay1"); // doesn't work // api.close(); // doesn't work$(
"a[rel]").each(function() {$(
this).overlay().close();});
<
a href='search.aspx' rel="#overlay1" id="advsrch" class="advSearch"><u>Advanced Search</u></a>$(
"a[rel]").overlay({mask:
'black',effect:
'apple',onBeforeLoad:
function() { // grab wrapper element inside content var wrap = this.getOverlay().find(".contentWrap");wrap.load(
this.getTrigger().attr("href"));}
});
© 2013 jQuery Foundation
Sponsored by and others.