This script is used to call jquery marquee
<script>
$(function() {
$('example3').marquee({
gap: "0",
speed: "3000",
direction: "up",
duplicated: "true"
});
});
</script>
This is working fine for static content in a div
I want to apply the same script for dynamic content which I will fetch from the xml file and add to the div using js.
How do I call this in my js after fetching the content from the xml file.