### Get All Element IDs TextArea

This example lists the IDs of the TextAreas defined in Infdex.html file.
JavaScript Function in Index.html Script section
function getids(elementid){
var ids = [];
var elements = document.getElementsByTagName(elementid);
//console.log(elements.length);
for(var i=0;i //console.log(elements[i].id);
ids.push(elements[i].id)
};
return ids;
};
B4J Code (uses Websockets)
Dim f As Future = ws.RunFunctionWithResult("getids", Array("textarea"))
Dim l As List = f.value
Log(l.size)
For i = 0 To l.Size - 1
Log(l.Get(i))
Next

Changed: , Category: WebApps, File: T6C277M2067.htm, ID: 2067