Skip to Content
Menú
This question has been flagged
1 Respondre
3518 Vistes

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
Descartar
Best Answer

Hello Sergio,

Simply we can show an modal from js using,

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

OR

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

Regards

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de des. 24
1335
0
de maig 23
3440
0
de juny 20
2649
0
de març 19
5570
0
de nov. 24
1188