How to get the value of an Input by id? #592
Unanswered
jamilraichouni
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to get an element by its id similar to the
document.getElementById()
function in Javascript but with pure Python?In a given case I have an input text field (a search field) and want to get the current value but don't know how to achieve that on the Python/ FastHTML side.
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions