跳至內容
選單
此問題已被標幟
1 回覆
3644 瀏覽次數

Hello everyone...

I would like to implement a small modal in which to enter the data from the website_sale.product.... But for this I think I should make a call to the template via JS. I've been looking in the documentation and there is a reference to the render method, but whenever I try to implement it I get a not found.

Has anyone had this same problem?

頭像
捨棄
最佳答案

Hello Sergio,

Simply we can show an modal from js using,

$('#myModal').modal({show:true});

OR

$("#myModal").modal().show();

Regards

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
12月 24
1525
0
5月 23
3586
0
6月 20
2769
0
3月 19
5693
0
11月 24
1407