WayneMajor
7 years agoQrew Cadet
$.getScript() not working
I am trying to access data from two fields in another table. To prepare, i made a specific report that only reports these two fields (Record ID# and Name).
I have tried to use $.getScript() to obtain an array using the jsa parameter, however nothing within the promise works, and i am unable to see either console.log(). I have looked all over quickbase for similar problems with $.getScript(), yet i still cannot figure out what the problem is with this section of code.
$.getScript("bk63yxbf9?a=q&qid=140&act=API_GenResultsTable&jsa=1",function(){
console.log("qdb_data Test");
console.log(qdb_data);
});
Just to be clear, i am NOT receiving any errors in the console log, rather it is as if the code is just not being fulfilled. I assume it is a syntax error in the URL but i am not sure as ive edited it multiple times to make sure.
I have tried to use $.getScript() to obtain an array using the jsa parameter, however nothing within the promise works, and i am unable to see either console.log(). I have looked all over quickbase for similar problems with $.getScript(), yet i still cannot figure out what the problem is with this section of code.
$.getScript("bk63yxbf9?a=q&qid=140&act=API_GenResultsTable&jsa=1",function(){
console.log("qdb_data Test");
console.log(qdb_data);
});
Just to be clear, i am NOT receiving any errors in the console log, rather it is as if the code is just not being fulfilled. I assume it is a syntax error in the URL but i am not sure as ive edited it multiple times to make sure.