Skip to content

Send key from keyup trigger #819

Answered by nickleman
nickleman asked this question in Q&A
Feb 13, 2022 · 4 comments · 4 replies
Discussion options

You must be logged in to vote

So, my wife and daughter asked me to make a wordle equivalent for a 6 year old. I have completed it, but am now trying to make it nicer and easier to use. I did mine server side using python and fastapi. There is an input form and I would like to get rid of that if I could. right now I have the input form replace the last line of blanks with letters as they are typed into the form, but would like to get rid of the form altogether since there is only one input anyway. So if I could put an htmx trigger on the div tag of that last line and get the character that triggered it, I could do that. It's sort of like doing hot keys, but I don't want to create a trigger and server side function for …

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@jreviews
Comment options

@nickleman
Comment options

@nickleman
Comment options

@jreviews
Comment options

Answer selected by nickleman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants