Widget:CJP4: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 65: | Line 65: | ||
function runQuery() { | function runQuery() { | ||
$('#resultsTable-body tr').remove(); | |||
var queryParameters = buildQueryParameters(); | var queryParameters = buildQueryParameters(); | ||
var printoutRequests = "|?Pill%20Imprint|?Pill%20Dosage|?Pill%20Ingred|?Pill%20Color|?Pill%20Shape|?Pill%20Size%20(mm)|?Pill%20Scoring|?NDC|?Pill%20Name"; | var printoutRequests = "|?Pill%20Imprint|?Pill%20Dosage|?Pill%20Ingred|?Pill%20Color|?Pill%20Shape|?Pill%20Size%20(mm)|?Pill%20Scoring|?NDC|?Pill%20Name"; | ||
Line 145: | Line 146: | ||
// The cells are then populated with | // The cells are then populated with | ||
//Find a <table> element with id="resultsTable-body": | //Find a <table> element with id="resultsTable-body": | ||
table = document.getElementById("resultsTable-body"); | table = document.getElementById("resultsTable-body"); | ||