Re: how to use javascript+phpscript togethter

From: Date: Sun, 13 Aug 2000 14:19:24 +0000
Subject: Re: how to use javascript+phpscript togethter
Groups: php.general 
Request: Send a blank email to php-general+get-11522@lists.php.net to get a copy of this message
On Wednesday, August 09, 2000 7:31 AM joe@jWebMedia.com <joe@jWebMedia.com> wrote: >When passing variables to javascript from PHP do something like: > >js_function('<?echo $php_var?>'); > >Joe How would you do it going the way? E.g., passing a series of JS-generated keywords to a php script. While on this OT subject ;^) , I need to search the web for JS code, but don't really know what I'm looking for is categorized as. Maybe you will know -- I want to present the user with a series of JS-generated drop-down boxes, so that when the user selects item-c from Box-1, Box-2 appears; user selects item-a from Box-2, Box-3 appears; etc etc until he done. Then I want to take each of these "selections" and fire them to a PHP search script. What am I looking for in JS? I've searched for "menus", "forms", and a bunch of others, but w/o much success. Tia.... -duke

« previous php.general (#11522) next »