Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
$(function() {$(".live_demo_billing").live('click', function() {currentFofoId = 0;loaddemolist("main-content");});$(".live_demo").live('click',function(){loaddemolist("main-content");});$(".approve-billing").live('click',function(){if (confirm("Are you sure you want to Approve the billing") == true) {serial =$(this).data("serial");doPostAjaxRequestHandler(context + "/enableliveDemoSerailNumber?serial_number="+serial,function(response) {if (response == 'true') {alert("successfully Approved");loaddemolist("main-content");}});}});});function loaddemolist(domId){console.log(currentFofoId)var url = "/getDemolistbyfofoId?fofoId=" + currentFofoId;doAjaxRequestHandler(context + url, "GET", function(response) {$('#' + domId).html(response);});}