I have uploaded the project which name is ''qw_ajax.rar''.Tobie
Langel
ask me to come here for help.
there is an error when I ues "Ajax.Request".
my codes:
------------------------------
file:default.htm
--------------------------------
function recordPosistion(x,y){
var pars="ix="+x"iy="+y;
var
myAjax=Ajax.Request("record.aspx",{method:"get",
parameters:pars, onComplete:showRes } ) ;
}//onDragend.what to get div''s posistion.
function showRes(res){
alert(res.responseText);
}
------------------------------
flie:record.aspx.cs
-------------------------------
Request.Q...["ix"];//result:got null
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---