java - Why my gadget is not receiving data? -
i have application on appspot. on personal domain account. i have put igoogle gadget on igoogle page of gmail account. i sending ajax request gadget : $(document).ready(function(){ jquery.ajax({ type: "get", url: "http://searcegadget2.appspot.com/requestservlet", success: function(msg){ alert(msg); if(msg.search('tr') != -1){ id = msg.split('</tr>').length - 1; //alert(id); $('#amounttable').append(msg); difference(); }else if(msg.search('form') != -1){ $('#gadget').css('display', 'none'); document.write(msg); }else if(msg.search('http') != -1)...