Displaying 1 result from an estimated 1 matches for "header_domain_map".
2007 Jan 31
1
RJS collection proxy
I would like to update the class of all <a> tags found in a div of my
page..
I can get it all (seeing the index and value) using :
page.select("#header_domain_map a").each do |value, index|
page << ''alert(value);''
end
but how can I set the classof all these elements to class="active"
tfyl
kad
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message...