I'm using an extension template for json output. I want to get the record by id.
ajax = PAGE
ajax {
typeNum = 99
config {
disableAllHeaderCode = 1
additionalHeaders = Content-type:application/json
admPanel = 0
debug = 0
}
10 = RECORDS
10 {
tables = tt_content
source = 77
}
}
But my output has an anchor link before the data I want:
<a id="c2"></a>{"errors":[],"messages":["some message"]}
How to remove the
<a id="c2"></a>