getInnerText( object or id )

This function retrieves the text contained in an output element. This value returned by this function is similar to the content returned by the innerHTML property of an object; however, all html formatting, such as tags and non-breaking space characters, is ignored.


  • object or id – reference to an output element or the id of the element from which to retrieve the text


var text = getInnerText("D_5_5");

Unable to render {children}. This macro only works on pages.