Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Getting error with at.js

Avatar

Avatar
Validate 1
Level 1
manoharr9972070
Level 1

Likes

2 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
manoharr9972070
Level 1

Likes

2 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
manoharr9972070
Level 1

27-02-2018

Hi Team,

I am now moving from mbox.js to at.js. The functionality was working fine with mbox.js and not in at.js. Below is the changes I had. Please let me know what could be the issue

1. I had added below script before a button for which a link was to be changed for Experience B

<div class="mboxDefault"></div><script type="text/javascript">

    mboxCreate('target-global-mbox','profile.test=test');

</script>

2. I added an Audience based on the value profile.test = test value

3. For this Audience I am editing the link of a button for Experience B using the Enhanced composer.

So the above worked fine for mbox.js implementation. I am getting the error "uncaught TypeError: c(...).addClass is not a function".

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 1
manoharr9972070
Level 1

Likes

2 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
manoharr9972070
Level 1

Likes

2 likes

Total Posts

3 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
manoharr9972070
Level 1

05-03-2018

I found the issue and fixed it. The way the button was selected using the CSS selector was not helping with at.js though it worked with mbox.js. Once it was modified the same test worked fine. Thanks!

Answers (2)

Answers (2)

Avatar

Avatar
Validate 250
Employee
Amelia_Waliany
Employee

Likes

190 likes

Total Posts

449 posts

Correct Reply

73 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile

Avatar
Validate 250
Employee
Amelia_Waliany
Employee

Likes

190 likes

Total Posts

449 posts

Correct Reply

73 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile
Amelia_Waliany
Employee

06-03-2018

Awesome! Thanks for sharing the fix here -  it may help other community members!

Avatar

Avatar
Validate 250
Employee
Amelia_Waliany
Employee

Likes

190 likes

Total Posts

449 posts

Correct Reply

73 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile

Avatar
Validate 250
Employee
Amelia_Waliany
Employee

Likes

190 likes

Total Posts

449 posts

Correct Reply

73 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile
Amelia_Waliany
Employee

05-03-2018

Hi there and thanks for your question! If you are still experiencing this, would you mind sharing the details with us in a bug report (you can shoot an email to Customer Care so that one can be opened on your behalf)? This way we can have our engineers take a look. Thanks!