this post was submitted on 12 Feb 2026
17 points (60.2% liked)

JavaScript

2661 readers
15 users here now

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] fushuan@lemmy.blahaj.zone 10 points 2 days ago* (last edited 2 days ago) (1 children)

You don't need that to search. In fact, you send the search query and get the response back.

Yes, they let you search the term, it's called asking the librarian to tell you which page.

Forms that send a post request to the server and the server serves you the page with the answer is how it works. Ajax is cool, sure, but don't tell us lies, or don't talk with confidence without knowing.

[–] RaphaelSchmitz@feddit.org 1 points 2 hours ago (1 children)

You ask the librarian how often the word "arrow" is in Lord of the Rings, and they have to tell you?

[–] mech@feddit.org 1 points 2 hours ago

Not sure what your point is, but that functionality could be built into a website without running any code clientside.