Home  >  Article  >  Web Front-end  >  js可以设置table的border为0吗_html/css_WEB-ITnose

js可以设置table的border为0吗_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:58:42931browse

一开始的table的border是为1的,但现在在js里要处理设置成0,怎么实现


回复讨论(解决方案)

直接设置table的border属性为0就可以啊。$("table").attr("border",'0');

直接设置table的border属性为0就可以啊。$("table").attr("border",'0');

thanks
Statement:
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