Home > Web Front-end > HTML Tutorial > Can js set the border of table to 0_html/css_WEB-ITnose

Can js set the border of table to 0_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:58:42
Original
1026 people have browsed it

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?


Reply to discussion (solution)

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
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template