Hi Jules: thank you for your help!! if I use this: type: "POST", url: "mywebpage.aspx, data:{Arg:"args2"}
Do you know how can i get value of arg from sever side(code behind)? I use asp.net, but i dont know how to fatch data when data put inside {}, " data:{Arg:"args2"} " Can i still use "Request.QueryString()" function? thanks On Aug 11, 10:56 am, Jules <jwira...@gmail.com> wrote: > There is a limit on url length depending on the browser. > > http://classicasp.aspfaq.com/forms/what-is-the-limit-on-querystring/g... > > use type:"POST" and data: instead and do not enclose the object > declaration > > data:{Arg:args2} instead of data:"{Arg:args2}" > > On Aug 11, 8:41 am, yi <falconh...@gmail.com> wrote: > > > $.ajax({ > > > type: "POST", > > > url: "mywebpage.aspx? > > Arg="+args2, > > > contentType: "text", > > > data:"{}", > > > dataType: "text", > > > success: CompleteInsert, > > > error: onFail > > > }); > > > I dont know why the onFail function is going to be executed when args2 > > is too big. > > args2 is a string type > > can anyone explain this > > thanks