Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3943 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
2104
0
mai. 23
4167
0
jun. 20
3242
0
mar. 19
6087
0
nov. 24
2060