backend/web/js/offline-order.js
//at views/offline-order/gift.php, trigger mechaniasm for Select Occassion dropdownlist
at views/offline-order/gift.php, trigger mechaniasm for Select Occassion dropdownlist
at views / offline - order / gift . php trigger mechaniasm for Select Occassion dropdownlist
function mocc(){
  var occassion = $('#occassions').val();
  $.post("?r=offline-order/ajax-gift",{
        occassion:occassion,
    },
    function(data, status){
      $("#moptions").html(data);
    });
}
function mocc ( ) { var occassion = $ ( '#occassions' ) . val ( ) ; $ . post ( "?r=offline-order/ajax-gift" , { occassion : occassion , } , function ( data , status ) { $ ( "#moptions" ) . html ( data ) ; } ) ; }
at views/offline-order/gift.php, trigger mechaniasm for Select Occassion dropdownlist
at views / offline - order / gift . php trigger mechaniasm for Select Occassion dropdownlist
//$('#'+newTotalText).val(data);