PHP and JavaScript

    Date: 11/30/09 (PHP Community)    Keywords: php, java

    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!

    Source: http://php.livejournal.com/674465.html

« $_SESSION Use || Do x to items 1-7, then y... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home