Home >Web Front-end >HTML Tutorial >Can js set the border of table to 0_html/css_WEB-ITnose
The border of the table was initially set to 1, but now it needs to be set to 0 in js. How to achieve this?
Just set the table's border attribute to 0 directly. $("table").attr("border",'0');
Just set the border attribute of the table to 0 directly. $("table").attr("border",'0');
thanks