Coming soon: Your brand new Help Center & Community! Get a sneak-peek here

Receive tabledata from Ajax in CRMScript

Hello.. 

How can I recieve data from an HTML table in CRMScript?

Here is an example jQuery from Stackoverflow: 

$(function(){
    var dataArr = [];
    $("td").each(function(){
        dataArr.push($(this).html());
    });
    $('#sendServer').click(function(){
        $.ajax({
              type : "POST",
              url : 'myserver.com/myCrmScript',
              data : "content="+dataArr,
              success: function(data) {
                  alert(data);// alert the data from the server
              },
              error : function() {
              }
        });
    });
});

 

RE: Receive tabledata from Ajax in CRMScript

Hi,

Perhaps you can get some idea from this blog from Simen.

Von: Michel Krohn-Dale 7. Okt 2020