Search code examples
javascriptjqueryhtmlcssjquery-jscrollpane

JScrollPane is not displaying when hide and shown


Please check this code: http://jsfiddle.net/rkumarnirmal/Rq7b2/2/

What I'm doing is I'm showing some text. If the text is clicked then the list will be displayed with Jscrollpane. But here the list is shown and the jscrollpane is not displayed.

What mistake I've done there? could anyone help me?

Thanks!


Solution

  • You have to re-call it when the content changes,

    http://jsfiddle.net/Rq7b2/3/