1
0
-1

Hi, 

in my form, I have a customHTML with the following javascript which fires on a button click.

function jAddOrderItem(productId, orderId){
var params = {
id : productId,
Order_ID : orderId
};

JPopup.create("testPopup", "Test Popup Dialog");
JPopup.show("testPopup", "AddOrderItem", params);
}

 

when I click the button I get this errror. How do I use the Javascript API? Thanks

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      I managed to solve this. Thanks

        CommentAdd your comment...