jquery how to get inner text of element code example Example: jquery get element innertext const copiedText = $('#element').text();