Is there any way to append html node using MWL method? I have tried the same with insertHTML() but it does not work as expected over Device? It works fine in simulator. insertHTML() method takes html node as a normal text only.

Eg: mwl.insertHTML(‘#container’,”<div id=’content’ class=’show’>Content Placeholder </div>”);

In above example you can't refer to 'id' and 'class' of that particular Div because here that Div is not an html node.

I want to avoid round trip server call that’s why I am not using normal JavaScript method to achieve the same.

Thanks & Regards,
Manzar A.