This is My Code below
<script type="text/javascript">
var test1 = {
"type" : "success",
"code" : "600",
"data" : [ ]
};
var template = $.templates("#template");
var htmlOutput = template.render(test1);
$("#billListBox").html(htmlOutput);
function billButtonOnClick(searchBillId,isComeFromBillClick,billDiv){
console.log(searchBillId);
console.log(isComeFromBillClick);
console.log(billDiv);
}
</script>
<div id="billListBox"></div>
I want to check data is empty or null in jsrender? how to check ?
{{/if}}{{/if}} – user956584 Jun 16 '21 at 23:54