I want to change the style tag after generating contents. How can I add style to the style tag? I tried using:
document.getElementById(\'style\').appendChil
Why don't you use the jQuery library and append new CSS to the DOM elements directly?
For example:
Test This would add a border around your element with the ID "an_element". jQuery Selectors jQuery CSS 0 讨论(0) 查看其它9个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
This would add a border around your element with the ID "an_element".
jQuery Selectors
jQuery CSS