开发者

Getting a <td>'s height and a <p>'s font size with JavaScript

How can I get and set a <td>'s height and a <p>'s CSS prop开发者_高级运维erty font-size with JavaScript?


var h = $('td').height();
$('p').css('font-size', '12pt');

www.jquery.com

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜