jsp - sucess msg in alert not working in ajax calling? -


             $.ajax({                     type: "post",                     url:  'columnchart.do',                     contenttype:"application/json; charset=utf-8", 

// data: mappinginfo, datatype:"text", success : function(msg) {

                        alert("wrong sssusssssername");                         $.each(data.jsonarray, function(index)                                 {alert(index);                                 $.each(data.jsonarray[index],                                      function(key,value) {                                 tmp = "['" + key + "',  " + value + "],";                                 receiveddata += tmp;                                 alert("receiveddata: " + receiveddata);                              });                          });                         alert(receiveddata.substring(0, 34));                         chart.series[0].setdata([receiveddata.tostring().substring(0, 34)]);                     }              }); 


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -