Chance's Recent Forum Activity

  • SORRY I'm not allow to submmit URL please remove '_' below and you can see my images

    ht_tp://dgardener.duapp.com/img/23.png

    ht_tp://dgardener.duapp.com/img/12.png

  • THANK U! but i still can't understant it... how to add 'header('Access-Control-Allow-Origin: *'); ' and my server file written in python,

       and this is image is in Construt2 <img src="ht_tp://dgardener.duapp.com/img/23.png" border="0" />

    it doensn't work

       this is in Javascript test it can get data..<img src="ht_tp://dgardener.duapp.com/img/12.png" border="0" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • function get_data(name,value) {$.ajax({

               type : 'get',

               async:false,

               url : 'h..t..t..p..:/../..1..1..5.28.160.34:2011/play_pie',

               data: ''+name+'='+value+'',

               dataType : 'jsonp',

               jsonp: 'jsoncallback',

               success : function(json){alert('sucess!!!'+json.data.number.one)},

               error:function(){      

                    alert('fail');

               }});

    }

  • i still can't figure out how to get data from server (maybe cause the client and server are not in the same server!! but i do not know how to handle it)... when i use javascript below it works!!

    ...

    but when i use the ajax plugin it return error?? can anyone help me ....it has confused me so much....

Chance's avatar

Chance

Member since 7 Mar, 2013

None one is following Chance yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies