Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 74045

textarea not updating after user changed it

$
0
0

I have a textarea like this:

<textarea id="text">some text</textarea>

It can be updated by the user as you would expect. But when I try to load the content in javascript, it still shows the original value:

$('#text').text() // shows original, unedited text

Viewing all articles
Browse latest Browse all 74045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>