SyntaxFix
Write A Post
Hire A Developer
Questions
Use .text() to extract the content of the div
var text = $('#field-function_purpose').text()