I am new to Ajax, and I was wondering if it is possible to have an id
passed to a $() function in runtime.
Like I am generating id for an article at runtime doing something like
id=article-<%= article.id %>
Now id I want to have a toggle element on this id then can I do
Element.toggle('$('article-<%= article.id %>')', 'blind') as well..??..
I cannot use the "this" parameter
Thanks and regards