Javascript API
Confluence User - 21 Jul, 2018
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
javascript;api

