Welcome Guest, Not a member yet? Register   Sign In
how to use javascript variable in php codeigniter
#1

[eluser]Unknown[/eluser]
Please can anyone tell me dat Can we use varaible of javascript in PHP.
if Yes then how????

its quiet urgent...so plz try to reply ASAP.........:question:
#2

[eluser]chellam[/eluser]
hi richa

u can pass the variable through query string and use $_GET['querystring name']. then u get the value of javascript variable
#3

[eluser]jedd[/eluser]
You can use this [url="http://www.mrforbes.com/thoughts/2009/01/28/a-quick-code-igniter-and-jquery-ajax-tutorial/"]POST / AJAX[/url] method instead.

Happily the Intergoogle is full to overflowing with CodeIgniter / JavaScript / jQuery / AJAX / etc tutorials.




Theme © iAndrew 2016 - Forum software by © MyBB