Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3757 Tampilan

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?

Avatar
Buang
Jawaban Terbai

Hello Sergio,

Simply we can show an modal from js using,

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

OR

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

Regards

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Des 24
1731
0
Mei 23
3774
0
Jun 20
2893
0
Mar 19
5809
0
Nov 24
1633