Monday, February 21, 2011

How to close a jgrowl manually

All,

How to close and open a jgrowl manually

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

The above code doesnt seem to work.

Thanks.

From stackoverflow
  • The namespace comes after the event ..

    so it should be

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

    update after comment
    The syntax mentioned in their blog could be a typo .. (did you try it out to see if it works ?)

    Other than that, a support request at jquery plugins page ( http://plugins.jquery.com/node/6194 ) dated feb 2009 may contain some more insight .. have a look ..

    Hulk : @Gaby: > [According](http://www.stanlemon.netindex.jgrowl.html) to this it is as i said
    Gaby : weird .. perhaps it is a typo ... did you try it out ?
    Hulk : yes it doesnt work..
    Gaby : have a look at the link i added in my answer ..

0 comments:

Post a Comment