You are here: Re: php using javascript objects « PHP Programming Language « IT news, forums, messages
Re: php using javascript objects

Posted by Jerry Stuckle on 01/09/06 14:51

phdfromic@yahoo.com wrote:
> I want to initialize a TEXTAREA with text depending on the values
> already selected in other areas - input type=TEXT or SELECT.
>
> How can I set a PHP variable with a value retrieving those HTML object
> values ?
>

First of all, PHP runs server side, not client side. So you can't
access the javascript objects in the client's browser.

You can get the info from the $_POST or $_GET variables (depending on
how you process your forms). But it means sending the page to the
server then sending it back to the browser.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация