Posts by RenanN • 11 points
1 post
-
0
votes1
answer22
viewsA: To assign a Javascript variable to an HTML value element using jQuery
Try it this way $('.js-atribuicao-id').val(id); $('.js-atribuicao-name').val(descricao); As documented: https://api.jquery.com/val/…