CodingForums.com
>
:: Client side development
>
JavaScript programming
>
Ajax and Design
> JS variable into PHP
PDA
View Full Version :
JS variable into PHP
Killermud
06-21-2009, 02:22 PM
Does anyone know a way to get a JS variable into a PHP variable without refreshing the page? I heard its possible with AJAX.
Any help would be great.
ohgod
06-22-2009, 01:22 PM
yes... ajax is what you're looking for. google some tutorials or grab a library.
i use http://prototypejs.org/api, but jquery is very popular too
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.