Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB