When I use AJAX it will return the data:
 $.ajax({ 
        dataType: "json",
        url: mySQL ,     
        success: saveBarcode , 
        error: function ( xhr , b , c ) { 
            $("#reportMsg").html ( "箱號條碼存取失敗,建議重新執行!!" ) ;  },
        async: false });     // 解決工廠資料會不正確問題
  function saveBarcode ( json ) { 
alert(JSON.stringify(json.KB_MOBILE_PHY_READ('PS2-P2100','P2100','3949791')));
 }
the json data will contain [{"KB_MOBILE_PHY_READ('PS2-P2100','P2100','421221')":"3"}]
How do I get the number 3?
I use:
json.KB_MOBILE_PHY_READ('PS2-P2100','P2100','421221') 
but it won't work
 
    