Поиск
Список
Период
Сортировка
Искать

От:
"dharm shankar" <dharm_shankar@rediffmail.com>
Дата:
Hi

    i want to use javascript variable in my php code.look on that 
code.

  










pls send me solution as well as possible.

dharm
"Richie" 

_________________________________________________________
Click below to visit monsterindia.com and review jobs in India or 
Abroad
http://monsterindia.rediff.com/jobs

Re:

От:
Andrew McMillan <andrew@catalyst.net.nz>
Дата:
On Fri, 2002-06-14 at 19:30, dharm shankar wrote:
> Hi
> 
>     i want to use javascript variable in my php code.look on that 
> code.

Hi,

Your request is not clear.  Do you want to include the value of a PHP
variable within your javascript?

Just use the  in the middle of your javascript and
print it.

Do you want to get the value from your javascript code and do something
with in your PHP?  This is much harder.  Remember, the javascript is
executing on a different computer, and will only commence execution once
the whole of the page is loaded.  You probably need to make your
javascript to a request to a PHP page which includes the variable URL
encoded.

Regards,
					Andrew.
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> pls send me solution as well as possible.
> 
> dharm
> "Richie" 
> 
> _________________________________________________________
> Click below to visit monsterindia.com and review jobs in India or 
> Abroad
> http://monsterindia.rediff.com/jobs
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 
-- 
--------------------------------------------------------------------
Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St, Wellington
WEB: http://catalyst.net.nz/        PHYS: Level 2, 150-154 Willis St
DDI: +64(4)916-7201    MOB: +64(21)635-694    OFFICE: +64(4)499-2267
       Are you enrolled at http://schoolreunions.co.nz/ yet?

FAQ