How to get the innerText of a node using jquery code example Example: jquery get element innertext const copiedText = $('#element').text();