Categories
How to pass a variable to onclick?
There is a variable in php $a. How to pass it to onclick to input. Those. so that onclick="window.open($a)"
onclick="window.open($a)"
Answer the question
In order to leave comments, you need to log in
onclick="window.open(<?= $a?>)
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question