I am trying to get the id's for all textarea in a table.
returns the first id correct, but I can't figure out how to get all id's
shows alerts with the correct id's, but when i try with
I get a "strange" map with unrecognizable data like:
{11={}, 12={}, 13={}, prevObject={0={location={search=, hostname=localhost, protocol=http:.....
Please help
B4X:
Dim f As Future
f = ws.EvalWithResult("return $(arguments[0]).attr(""id"")", Array As Object("textarea"))
Log(f.Value)
returns the first id correct, but I can't figure out how to get all id's
B4X:
Dim f2 As Future
ws.Eval("$(arguments[0]).each(function(){alert( $(this).attr(""id""))})", Array As Object("textarea"))
shows alerts with the correct id's, but when i try with
B4X:
Dim f3 As Future
f3 = ws.EvalWithResult("return $(arguments[0]).each(function(){return $(this).attr(""id"")})", Array As Object("textarea"))
I get a "strange" map with unrecognizable data like:
{11={}, 12={}, 13={}, prevObject={0={location={search=, hostname=localhost, protocol=http:.....
Please help