3 Replies Latest reply on May 14, 2013 11:14 AM by John Hall

    Fontface changes when changing html of text

    John Hall Level 4

      I have a textfield nested in a symbol and am using an Adobe web font (droid-sans). When I change the text inside the textbox with something like the following:


      sym.getSymbol("captionButton").$("textBox").html("Hide Captions");


      the fontFace APPEARS to go to some other sans font and seems bold from that point forward. Do I need to reset all the css properties of the fontface every time I change html text in a textbox. And if so, could someone tell me the correct sytax, given the action above?