Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3664 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ธ.ค. 24
1546
0
พ.ค. 23
3624
0
มิ.ย. 20
2784
0
มี.ค. 19
5720
0
พ.ย. 24
1443