I ma trying to use the orbeon Javascript embedding API, but for some reason I am not able to get it working. I might be missing something. I a, embedding a form into the page and here is a snippet of how i am trying to do it.
ORBEON.fr.API.embedForm(
'div#orbeon-container',
'/orbeon',
'App1',
'Form1',
'new'
);
I am however getting this error Uncaught TypeError: a.querySelector is not a function.
I think this could be because of how i am specifying the container, but i am not sure how it should be specified as the documentation on embedding doesn't seem to give an example of this.