Image

Imagejulisana wrote in Imagephp

PHP and JavaScript

Hi Guys!

Another super dumb question on the way!

Is it possible to assign a PHP variable a value within a javascript function?

For example I've got a text box showing up only when a certain tickbox is ticked. I'm using javascript to show/hide the text box. When that box is ticked, I want the PHP variable $classes to have a different value.



Should I send this to a JavaScript community instead?

Thanks!