Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Get the content inside div - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
•
19 replies
glutonium
Get the content inside div
say i have the following div
<div class = "button">420</div>
<div class = "button">420</div>
like for inputs
, in js u can get the value using
input.vlaue
input.vlaue
how can I get the value or content of the div which is 420
?
?
i see values don
't work for divs
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Flexbox Div inside a container div
KP-C
Kevin Powell - Community / front-end
3y ago
how to put the content formed from script tag inside div
KP-C
Kevin Powell - Community / front-end
4y ago