Tuesday, 15 March 2011

asp.net - Jquery Ajax help point in right direction -


Hi I am using a third party plugin if I pass the URL manually, it returns the expected value That is, when I use AJAX in JQA, it does not do anything, I do not know how to debug it or how to try to sort it, any help is very commendable.

URL that works

  http://192.168.0.34:81/tenHsServer/tenHsServer.aspx?t=ab&f=DeviceStatus&d=C5   

Jquery code not

  $ .ajax ({type: go ', url:' http://192.168.0.34:81/tenHsServer/tenHsServer Aspx ', data: {T:' AB ', F:' DeviceStatus', D: 'C5'}, Success: Function (Data) {Warning (Data);}, Error: Function (Request, Status, Error) {Alert (Request.responseText);}}}    

You need something JsonRequestBehavior.AllowGet

  Returns Jason (Dataset, JasonRquwe Justify Behavior Alove Gate; // (C # MVC)   

... // Your ASPX page is not in a different way.

No comments:

Post a Comment