how to pass testarry to data-zs-src in jquery zoomslider?

Nov 23 2017 1:46 AM
 
how to pass testarry to data-zs-src in jquery zoomslider? 
 
 
 <div id="demo-1" data-zs-src="@testArray" data-zs-overlay="dots">
 
<script type="text/javascript">
$(document).ready(function () {
alert("ready!");
if (testArray) {
 
alert(testArray);
}
});
</script>
 
 
=>>>>>>>>>>>>>>>>in testAraay i got list of images  how to pass to" data-zs-src"