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