Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3640 Näkymät

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
Hylkää
Paras vastaus

Hello Sergio,

Simply we can show an modal from js using,

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

OR

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

Regards

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
jouluk. 24
1525
0
toukok. 23
3586
0
kesäk. 20
2769
0
maalisk. 19
5692
0
marrask. 24
1405