I have a form that dynamically changes when a button and/or link is clicked, and I am using jScrollPane in a div located inside the form called ".softcontent".
When the content in the form changes the jScroll function does fire again.
So my question is: How do I trigger my jScrollPane function when the content in the form changes so the new content that fills the form have the same scrollpane?
The jScrollpane function:
$(function scrollbar() {
$('.softcontent').jScrollPane();
});
Please let me know if I need to provide more or further detailed information, Thank you.