How to add <font> with Javascript?

Posted by Fernando SBS on Stack Overflow See other posts from Stack Overflow or by Fernando SBS
Published on 2010-05-17T21:41:14Z Indexed on 2010/05/17 21:50 UTC
Read the original article Hit count: 239

Filed under:
|
FM_log(3,"rp_insertTable() called");

 var farmTable = dom.cn("table");

 var ftableBody = dom.cn("tbody");

 var i;

 var maximize = GM_getValue("Maximize_" + suffixGlobal, 0);

 farmTable.className = "FMtbg";

 farmTable.id = "farmMachineTable";

 farmTable.setAttribute('cellpadding', 2);

 farmTable.setAttribute('cellspacing', 1);

 farmTable.style.marginBotton = "12px";

how can I add to that table, I mean, edit the HTML in the middle of that table and add "< font >" ??? (ps: how can I add < > code here without it being interpreted as code?)

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about dom