Forum Discussion
ChuckGrigsby
8 years agoQrew Cadet
This is how I would do it. note you can wrap URL in a var or just use the DBID if used within the app.
var query= "{'29'.EX.'" + kRid + "'}AND{'6'.XEX.''}AND{'7'.EX.''}OR{'7'.AF.'today'}";
$.get(DBID, {
act: "API_GenResultsTable",
query:query,
clist:"30.20.14.6.7.8",
slist: "6",
options:"sortorder-A"
}, function(xml) {
$("#results").html(xml)
})
var query= "{'29'.EX.'" + kRid + "'}AND{'6'.XEX.''}AND{'7'.EX.''}OR{'7'.AF.'today'}";
$.get(DBID, {
act: "API_GenResultsTable",
query:query,
clist:"30.20.14.6.7.8",
slist: "6",
options:"sortorder-A"
}, function(xml) {
$("#results").html(xml)
})