DenoDDeno
Powered by
OokerO
Deno•3y ago•
25 replies
Ooker

How does form submission work?

I'm following the tutorial: https://fresh.deno.dev/docs/getting-started/form-submissions

It says:
When the user submits the form, the browser will navigate to
/search
/search
with the query set as the
q
q
query parameter in the URL. The
GET
GET
handler will then filter the names array based on the query, and pass it to the page component for rendering.
Form submissions | Fresh docs
Robustly handle user inputs using HTML `` elements client side, and form
submission handlers server side.
Form submissions | Fresh docs
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How does importing `node:https` work?
abiAabi / help
3y ago
fetch does not work
Ziga ZajcZZiga Zajc / help
16mo ago
How does FFI work under the hood when using nonblocking?
MqxMMqx / help
6mo ago