Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Vladimir-Novick/11d2a19390ba568d9636ef9264554d20 to your computer and use it in GitHub Desktop.
Save Vladimir-Novick/11d2a19390ba568d9636ef9264554d20 to your computer and use it in GitHub Desktop.
let fetchQue = fetch(RunQueRequest)
.then((response) => response.json())
.then((responseJson) => {
responseJson.map((QueItem: any) => {
var Key = "row_chk" + QueItem.Key;
var rowElement = document.getElementById(Key);
if (rowElement !== null) {
let parent = rowElement.parentNode;
var p = parent as HTMLElement;
p.removeChild(rowElement);
}
})
})
.catch((error) => {
console.error(error);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment