Hello, I want to pass a php variable, as a parameter in a JavaScript function call. This way:
<a href="calcular($numero)">Calcular</a>
I have tried to do this:
<a href="#">#
Hello, I want to pass a php variable, as a parameter in a JavaScript function call. This way:
<a href="calcular($numero)">Calcular</a>
I have tried to do this:
<a href="#">#
You can simply use concatenation, without using <?php
. Something like this: <a href="#">#