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