Posts by Eduardo Carvalho • 11 points
2 posts
-
0
votes1
answer125
viewsA: Set OPTION as Selected based on Bank values
you can do a test on each option and display Selected if value is the same as bank value. <div class="form-group col-md-3"> <label>Aparelho</label> <select name="aparelho"…
-
1
votes2
answers534
viewsA: How to send a php variable in a javascript function parameter?
Hello, I would do so: function calcular(element){ var variavel = $(element).data('var'); } <a data-var="<?= $calcular ?>" onClick="calcular(this)">Clique</a>…
javascriptanswered Eduardo Carvalho 11