Topic: How to check if DOM ID exists?
Does anyone know how to check in a .rjs file if a given
DOM ID already exists (and create it if not)?
page['id'] and page.select only return a reference you can use in the JS..
I tried this:
but that doesn't seem to work, it inserts $$("ul#id").empty?(); and further
calls aren't executed.