You have a typo. Also, why are you setting itms to a string? Instead of
itms='{url:"GetValues", data:"'+d+'"}';
you should be using
itms={ url:"GetValues", data:d };

Blair

On 10/17/06, Sithram PG <[EMAIL PROTECTED]> wrote:
Hello,

I imagine that it must be some way to use _javascript_ variable for "HASH"... Is it possible?
I show you the code that I'm using (and it show me an error in FireBug (Firefox):reference to undefined property "imts"):

function LoadAjax(t,d,id){
var itms
itms='{url: "GetValues'+t+'.asp", type: "POST", ';
itms+='data: "'+d+'"';
itms+='success: function(req) {AjaxOk(req,"'+id+'");},';
imts+='error: AjaxError}';
  $.ajax(itms);
}

Regards,

Xavier Pimienta

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to