Give this a shot:
var input = document.getElementById("myInput");
var text = input.innerHTML;
More Related Contents:
- Stop form refreshing page on submit
- Clearing using jQuery
- contenteditable change events
- Set cursor position on contentEditable
- Submitting a form on ‘Enter’ with jQuery?
- How to send a JSON object using html form data
- How to submit an HTML form without redirection
- Prevent form redirect OR refresh on submit?
- Prevent contenteditable adding on ENTER – Chrome
- Drop-down box dependent on the option selected in another drop-down box
- How to prevent page from reloading after form submit – JQuery
- Property ‘submit’ of object # is not a function
- How to select all text in contenteditable div?
- Adding rows dynamically with jQuery
- Best JavaScript solution for client-side form validation and interaction? [closed]
- Change the content of a div based on selection from dropdown menu
- jQuery Change event on an element – any way to retain previous value?
- Submit form after calling e.preventDefault()
- Trigger standard HTML5 validation (form) without using submit button?
- How do you limit options selected in a html select box?
- How can I get all a form’s values that would be submitted without submitting [duplicate]
- Trigger standard HTML validation (form) without using submit button? [duplicate]
- submit event does not fire if submit initiated programmatically
- Extracting text from a contentEditable div
- copying the value of a form’s file input field to another form’s input field
- Any Javascript GURU here to make this Script ? If Anchor is Changed Redirect the Page
- jQuery ID selector works only for the first element
- Cross-browser multi-line text overflow with ellipsis appended within a fixed width and height
- How to get nth-child selector to skip hidden divs [duplicate]
- Placeholder for contenteditable div