add element to DOM by runScript command


#1

Hi there
I want add some element to DOM by “runScript”, i’de try it alot and alot but it’s not successful.
Please help me

Screen Shot 2018-09-13 at 5.58.02 PM.png


#2

What is the result if you run this code? You start it with “$” so it’s jquery (i guess - i’m not developer :slight_smile:), maybe try to use pure JavaScript code instead.

Maybe it’s because of rectangle sign in your code. Look for “js appendchild example” in google, you will find a lot of example with pure JavaScript code and try to append some simple element first.