TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Can I Access the Contents of a contenteditable without JavaScript

2 pointsby rzachalmost 5 years ago
I'm trying to write a browser-based editor but I don't want to use JS in any way. In fact, I would prefer to use C - basically it will parse the input for syntax highlighting, etc. Basically I need to know, can I access the contents of a contenteditable div through an HTTP server?

1 comment

Etherytealmost 5 years ago
Since contenteditable won&#x27;t have a value similar to a standard form element [1] it seems you will need Javascript. Either ways, Stack Overflow is a better place to ask questions like this, not HN.<p>[1] <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;6247785&#x2F;1470607" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;6247785&#x2F;1470607</a>