getting text value of id tag jquery code example Example: jquery get element innertext const copiedText = $('#element').text();