This is my code. When I run this I get an error: "Ajax is undefined". The error line is highlighted by black letters.
function funGetName()
{
var id=document.getElementById("Cust_Id").value;
var URL="Default.aspx?TODO=getName&custId="+id;
alert(id);
var ajax=new Ajax.Request(URL,
{
method:'get'
});
}