Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

Re: getJSON in MII 15

$
0
0

Hi Ria,

I am displaying the data in the datatables from a persistent MDO via Servlet. The ILLUMINATOR servlet works fine, returning the data in aaData format. Now, when I use the getJSON function to retrieve the data, the function is not getting called, for eg:

 

function test()

{

 

 

alert("test");

$(document).ready(function() {

alert("before getJson");

alert("inside");

var urlString  = "/XMII/CM/Default/testsvt.irpt";

$.getJSON(urlString, function (output)

    {

           alert("inside getJSON");

     });

}

 

All the alerts prior to getJSON get alerted, but the alert("inside getJSON") doesn't.

 

Regards,

Rajeev


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>