I can't seem to close my modal dialog except when using the close
button.

I want to do a search dialog box, that closes as soon as the user
presses search (rather than press search and then the close button)

I created my search box like this:

$("#search").click(function(){
          $("#searchBox").modal({overlayClose:true});
});

But I am clueless about how to connect my search button to actually
close it.

Thanks in advance for your help

Reply via email to