![jQuery中动态设置表格的属性 jQuery中动态设置表格的属性](https://i-blog.csdnimg.cn/blog_migrate/a4c26d1e5885305701be709a3d33442f.gif)
jQuery.noConflict();//禁用了$
jQuery(function() {
jQuery("#change").bind("click", function() {
var map = {
"border" : "1px",
"bordercolor" : "blue",
"cellpadding" : "10px",
"cellspacing" : "10px",
"width" : "300px",
"height" : "200px"
};
jQuery("#tab1").attr(map);//设置表格的样式
});