Answer the question
In order to leave comments, you need to log in
How to pull from json on the server to the console value?
There is such json
{
"document": {
"data": {
"docType": 122,
"name": "Серийный номер",
"fiscprops": [
{
"caption": "ЗН ККТ",
"printable": "ЗН ККТ\t123456789012",
"tag": 1013,
"value": "123456789012"
}
]
},
"result": 0
},
"protocol": 1,
"version": "1.0"
}
$( ".sev_al request_service" ).click(function() {
var rawbase = 'http://localhost:8888/get_serial.json'
$.getJSON(rawbase, function( data )) {
console.log(data);});
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question