Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3645 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Sergio,

Simply we can show an modal from js using,

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

OR

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

Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 12 24
1525
0
thg 5 23
3587
0
thg 6 20
2770
0
thg 3 19
5693
0
thg 11 24
1408