1.var ConnectionSer = function(){
2. try {
3. var heads = new Request.JSON({
4. url: 'heads.aspx',
5. onComplete: function(res,text){
6. var json = JSON.decode(text);
7. //alert(json[0].photo)8. }
9. }).send();
10. } catch (ex) {
11. alert(ex.message)
12. }
13.}
时间: 2025-01-27 00:19:22