๐:-1
With my previous experience on rendering the PHP json data inside JS, I could get it by rendering it as a string and then parse it. Something like this.
var WData = "'"+<?php echo json_encode($WData);?>+"'";
jData= JSON.parse(wData);
๐:-1
With my previous experience on rendering the PHP json data inside JS, I could get it by rendering it as a string and then parse it. Something like this.
var WData = "'"+<?php echo json_encode($WData);?>+"'";
jData= JSON.parse(wData);