Documentation

BX.processHTML

object 
BX.processHTML(
 string HTML
);

HTML string parsing with 'js' inserts. The following object will be the result:

{
   HTML: cleared HTML,
   SCRIPT: [
      {
         JS: script string or external file name,
         isInternal: true|false – if the record is finished script or external file
      }
    ],
   STYLE: [
	array of external style, connected via code.
   ]
}

Required for a Ajax extension to function.



© «Bitrix24», 2001-2024
Up