MooTools AJAX getElements
- Started
- Last post
- 4 Responses
- monNom0
ugh. was able to get the top level elements and drill down. (in case anybody finds this in filter and was wondering).
$[element].getElements['div'].ea...
item.getChildren[].each[function...
if[cItem.getTag[] == "img"]{ //foo }
}];
}];hopefully that gets past the filter
[ = (
] = )
- vaxorcist0
argh, quotes and brackets from hell.... this happens in the "language within a language" that javascript frameworks are becoming.... I do sometimes wish Javascript were re-invented clean, so all these layers were not needed.... something more like Ruby....
- monNom0
crap.
getElements[ img ]
[ = ("
] = ")
- monNom
Looking for some technical help.
I've got an AJAX call writing to an element on my page. Everything is hunky dory until I try to access the elements that have been written into the page by the script.
$(containerElement).getElements...
returns nothing, even though the Ajax class's onComplete event fires. And the content has been loaded.
Any ideas?