|
Spaces in variables
I can't seem to get by this simple problem.
If selected_city is Gila Bend -- it only shows Gila.
I am missing something basic.
function requestCustomerInfo() {
var Id = $("#selected_city").val();
alert(Id);
$("div#divCustomerInfo").load("GetCustomerData.php?id=" + Id);
}
Last edited by Lonestar Jack; 09-12-2012 at 05:23 PM..
Reason: misspelling
|