Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #11743

how would i write this request in jquery?

From Shawn Bright <shawn@skrite.net>
Newsgroups comp.lang.javascript
Subject how would i write this request in jquery?
Date 2012-02-13 14:04 -0800
Organization http://groups.google.com
Message-ID <27298642.21.1329170666272.JavaMail.geo-discussion-forums@ynx13> (permalink)

Show all headers | View raw


Hey all, i have a request i am making with prototype that i need to do in jquery.


var url = "/sites/new_info";
new Ajax.Request(url, {
    method: 'get',
    onSuccess: function(response) {
    var sites = response.responseJSON; 
    }
});

appreciate any help. 

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

how would i write this request in jquery? Shawn Bright <shawn@skrite.net> - 2012-02-13 14:04 -0800
  Re: how would i write this request in jquery? Andreas Bergmaier <andber93@web.de> - 2012-02-13 23:34 +0100
    Re: how would i write this request in jquery? Shawn Bright <shawn@skrite.net> - 2012-02-13 19:43 -0800
      Re: how would i write this request in jquery? Gene Wirchenko <genew@ocis.net> - 2012-02-13 20:35 -0800
  Re: how would i write this request in jquery? Hans-Georg Michna <hans-georgNoEmailPlease@michna.com> - 2012-02-14 17:20 +0100
  Re: how would i write this request in jquery? Matt McDonald <matt@fortybelow.ca> - 2012-02-14 11:07 -0700
    Re: how would i write this request in jquery? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-18 02:38 +0100

csiph-web