I have json data and I want to print text after the input tag inside the label tag but json2html prints text before the input tag!
jon2html result :
<div class="checkbox">
<label> **one**
<input name="checkbox" id="checkbox1" value="checkbox1" type="checkbox">
</label>
</div>
Results I want :
<div class="checkbox">
<label>
<input name="checkbox" id="checkbox1" value="checkbox1" type="checkbox">
**one**
</label>
</div>
json:
"tag": "html",
"children": [
{
"tag": "body",
"children": [
{
"tag": "div",
"class": "form-group",
"html": " ",
"children": [
{
"tag": "label",
"class": "col-lg-2 control-label",
"html": "option"
},
{
"tag": "div",
"class": "col-lg-9",
"id": "checkbox",
"html": " ",
"children": [
{
"tag": "div",
"class": "checkbox",
"html": " ",
"children": [
{
"tag": "label",
"html": " one ",
"children": [
{
"tag": "input",
"name": "checkbox",
"id": "checkbox1",
"value": "checkbox1",
"checked": "",
"type": "checkbox"
}
]
}
]
},