[!--quoteo(post=384449:date=Jun 16 2006, 04:30 AM:name=kenrbnsn)--][div class=\'quotetop\']QUOTE(kenrbnsn @ Jun 16 2006, 04:30 AM) [snapback]384449[/snapback][/div][div class=\'quotemain\'][!--quotec--] As to the OP's question... I hope you realize that you PHP code will just generate the Javascript code which then gets executed after the PHP is done. Remember PHP executes on the server while Javascript executes on the client. If you want Javascript and PHP to interact, you need to use AJAX and start PHP scripts asynchrously. Ken [/quote] Yes I did read that. Damn I thought there may have been a way to execute the java clientside after the php has been processed. Ahh well anybody know any good tutorials in changing js to ajax ? Thanks for your time BoN