jquery get text value of an element code example
Example 1: jquery get element innertext
const copiedText = $('#element').text();
Example 2: jquery get value of element
// Get the value from id thisElement
$("#thisElement"). val();
const copiedText = $('#element').text();
// Get the value from id thisElement
$("#thisElement"). val();