[eluser]Computerzworld[/eluser]
In javascript i have follwoing function
function getCities(stateid,userId)
{
http.open('get', 'Event.php?action=getRecord&stateid;=' + stateid + '&userId;=' + userId);
http.onreadystatechange = handleCities;
http.send(null);
}
in above funtion i have to call one controller function getRecord which contain some argument like stateid and userId
so how can i call this function ???