how to get content of div in jquery code example Example: jquery get content of div var text = $('#field-function_purpose').text()