Forum Discussion

damienpage's avatar
damienpage
Qrew Cadet
8 years ago

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

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
No RepliesBe the first to reply