HiDoes anyone here use dojo.query? Im trying to target my tables with even odd styling but i cant get it to work.I am going to look at building it into a function - currently when the button is clicked the following occur's:on(dom.byId("exe_CPO_data"), "click", exe_CPO_data);
Could i run two functions on the div click event with the following:function styleTable() {
dojo.query("#info table tr:nth-child(odd)").addClass("odd");
dojo.query("#info table tr:nth-child(even)").addClass("even")
}
Is there a easier way to target the table styling constantly so each time the table is populated it updated the styling as i have 4 buttons doing a querytask each time.thanksAndy