Use .text() to extract the content of the div
var text = $('#field-function_purpose').text()
More Related Contents:
- How can I use JQuery to post JSON data?
- Send JSON data via POST (ajax) and receive json response from Controller (MVC)
- How can I post an array of string to ASP.NET MVC Controller without a form?
- How to enable or disable an anchor using jQuery?
- jQuery Date Picker – disable past dates
- Queue ajax requests using jQuery.queue()
- jQuery OR Selector?
- Bootstrap 3 Collapse show state with Chevron icon
- How can I set the value of a DropDownList using jQuery?
- Detecting no results on jQuery UI autocomplete
- jqGrid resolve the grid pager ID dynamically?
- jQuery load external site page
- jquery input select all on focus
- Set width of a “Position: fixed” div relative to parent div
- What is “traditional style of param serialization’ in JQuery
- jQuery click event not working in mobile browsers
- Pass Blob through ajax to generate a file
- jQuery Validate plugin – password check – minimum requirements – Regex
- Mobile site – force landscape only / no auto-rotate
- jQuery delay not working
- jQuery select based on text
- How does GitHub change the URL without reloading a page?
- success callback after knockout.js finishes rendering all the elements
- select2 and jquery validation not working properly
- jQuery modal dialog and jqGrid
- Getting fullscreen mode to my browser using jquery
- jquery resize listener on a div
- Click event called twice on touchend in iPad
- jQuery: append() object, remove() it with delay()
- JQuery Bootstrap Multiselect plugin – Set a value as selected in the multiselect dropdown