1)dojo.addClass(node: DomNode|String, classStr: String) Add a class to the node, var node=dojo.byId(‘divv’); dojo.addClass(‘divv’,’color’); dojo.addClass(node,’s1′); 2)var bool = dojo.hasClass(node: DomNode|String, classStr: String) 3)var bool = dojo.removeClass(node: DomNode|String, classStr: String) Removes the specified classes from node. 4) dojo.toggleClass(node: DomNode|String, classStr: String, condition: Boolean?) To add or remove the class of a node, you can pass in the condition to force the class attribute on or off 5) dojo. style(node: DomNode|String, style: Object?, value: String?) 2 or 3 parameters can be passed in, and style can be set or read dojo.style(‘node’,’color’); // get dojo.style(‘node’, {color:’red’}) //set dojo.style(‘node’,’color’,’red’); //set 6) Batch processing style, NodeList function dojo. query(‘div’).style({color:’blue’}); dojo.query(‘div’).addClass(‘className’); dojo.query(‘div’).removeClass(‘className’); dojo.query(‘div’).toggleClass(‘className’);
dojo style
WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 5751 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC