Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3680 Visualizações

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
Cancelar
Melhor resposta

Hello Sergio,

Simply we can show an modal from js using,

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

OR

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

Regards

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
dez. 24
1566
0
mai. 23
3635
0
jun. 20
2811
0
mar. 19
5730
0
nov. 24
1455