Migration to at.js - Adding html using form based experience setup | Community
Skip to main content
ruchaj45469490
May 25, 2017
Solved

Migration to at.js - Adding html using form based experience setup

  • May 25, 2017
  • 1 reply
  • 1240 views

Hi,

I am evaluating a migration from mbox.js to at.js and have encountered an issue. 

I have replaced mbox.js to at.js with an auto create mbox setting.

When I try to setup an experience using form based setup: any javascript in the HTML offer works perfectly but if I add some html for e.g.:" <div> hiii </div> " , it does not appear anywhere on the page.

With mbox.js I was able to view the HTML offer in the target-global-mbox div on the page. 

Where exactly does at.js create an mbox, and why is this mbox not visible in the generated html of the page?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ParitMittal

Hi Rucha,

Actually at.js doesn't add a <div> element to the top of the page Hence the HTML doesn't appear any where on the page.

Regards

Parit Mittal

1 reply

ParitMittal
ParitMittalAccepted solution
Level 10
May 26, 2017

Hi Rucha,

Actually at.js doesn't add a <div> element to the top of the page Hence the HTML doesn't appear any where on the page.

Regards

Parit Mittal