Skip to Content
Menu
This question has been flagged
1 Atsakyti
3748 Rodiniai

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?

Portretas
Atmesti
Best Answer

Hello Sergio,

Simply we can show an modal from js using,

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

OR

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

Regards

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
gruod. 24
1712
0
geg. 23
3748
0
birž. 20
2889
0
kov. 19
5808
0
lapkr. 24
1623