Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3534 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

Hello Sergio,

Simply we can show an modal from js using,

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

OR

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

Regards

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
gru 24
1349
0
maj 23
3448
0
cze 20
2662
0
mar 19
5581
0
lis 24
1199