Skip to content
Advertisement

PHP Conditions in Javascript code

I need to add a PHP condition inside some javascript code like this:

JavaScript

Is this possible?

Advertisement

Answer

Try this

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement