• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I convert this "get_cities.php?country='+country" to CI way?

#1
[eluser]shinokada[/eluser]
I have the following jquery which has url of get_cities.php?country='+country.

I am wondering how I should put this in CI way.

Can anyone teach me please?

$('#country').attr('value') will be ir or uk etc. And I can change it to 1, 2, 3 etc.


Code:
function update_cities(){
    var country=$('#country').attr('value');
    $.get('get_cities.php?country='+country, show_cities);
            }


Messages In This Thread
How can I convert this "get_cities.php?country='+country" to CI way? - by El Forum - 01-07-2010, 03:06 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.