How do I make the text "Commit" appear on the button?
This is what i have done:
var Canvas = {
buttonCommit: TBE.CreateButtonElement (this.displayWidth,this.displayHeight/10*2)
};
Canvas.buttonCommit.style.position = 'relative';
Canvas.buttonCommit.type="button";
Canvas.buttonCommit.value="Commit";
... which is equivalent to this (copied from Developer Console):
<button style="width: 100px; height: 40px; position: relative;" type="button" value="Commit"></button>


Reply With Quote

Bookmarks