How to close a jgrowl manually

Hulk picture Hulk · Feb 19, 2010 · Viewed 8.1k times · Source

All,

How to close and open a jgrowl manually

 jQuery("div.jGrowl").trigger("jGrowl.close");

The above code doesnt seem to work.

Thanks.

Answer

Saiful picture Saiful · Apr 8, 2011

This worked for me

$("div.jGrowl").jGrowl("close");