Discussions

 View Only

Anyy solution for using result of API_DoQuery (RID ONLY REQUIRED) for API_GetRecordAsHTML

  • 1.  Anyy solution for using result of API_DoQuery (RID ONLY REQUIRED) for API_GetRecordAsHTML

    Posted 02-27-2018 05:38
    Need help with above.

    I want to be able to take just the result (RID only from doquery) and use that RID  to generate a html repsonse
    as...

     <div id="dbPagePayload"></div>
    <script lang="text/javascript">
    $.post("./target_dbid?a=API_GetRecordAsHTML&rid=n", {}, function(response){
    $("#dbPagePayload").html(response);
    });
    </script>

    Hoping someone can assist with this.


    Cheers,

    Damien