Skip to Content
Menu
This question has been flagged

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

Hello Sergio,

Simply we can show an modal from js using,

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

OR

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

Regards

Avatar
Discard
Related Posts Replies Views Activity
2
Dec 24
1038
0
May 23
3203
0
Jun 20
2480
0
Mar 19
5477
0
Nov 24
979