jquery write text in div code example Example: jquery get element innertext const copiedText = $('#element').text();