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