Quote from
luishp on November 1, 2019, 7:42 pm
Hi @asmat,
That's not available in current version but I will include it in the next one.
The code will be like this:
CreateEmptyObject [myobj]
SetVar [myobj.name] "Peter"
SetVar [myobj.age] 34
SetVar [myobj.car] "Seat"
LoopObject [x] [myobj]
GetObjectHTML "Container1" [content]
SetObjectHTML "Container1" "[content][x]<br>"
EndLoop
Meanwhile you can use something like this:
CreateEmptyObject [myobj]
SetVar [myobj.name] "Peter"
SetVar [myobj.age] 34
SetVar [myobj.car] "Seat"
BeginJS
for($App.x in $App.myobj){
content=$("#Container1").html()
$("#Container1").html(content+$App.x+"<br>");
}
EndJS
Hi @asmat,
That's not available in current version but I will include it in the next one.
The code will be like this:
CreateEmptyObject [myobj]
SetVar [myobj.name] "Peter"
SetVar [myobj.age] 34
SetVar [myobj.car] "Seat"
LoopObject [x] [myobj]
GetObjectHTML "Container1" [content]
SetObjectHTML "Container1" "[content][x]<br>"
EndLoop
Meanwhile you can use something like this:
CreateEmptyObject [myobj]
SetVar [myobj.name] "Peter"
SetVar [myobj.age] 34
SetVar [myobj.car] "Seat"
BeginJS
for($App.x in $App.myobj){
content=$("#Container1").html()
$("#Container1").html(content+$App.x+"<br>");
}
EndJS