Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

graeme14's avatar

Alternatives to JQuery?

As I like to keep my projects up to date, I came across several articles recommending against use of JQuery as it is no longer being supported, and subject to vulnerability issues.

Speaking as an amateur web designer/developer working on a contact form. JQuery and Ajax are commonly used to transition a completed form, to a loading/sending mail phase from the push of a button, to success message. As of yet, I haven't found an alternative to JQuery so I'd like to hear opinions from those in the tech community as to whether I should just use it for the sake of time, or continue looking for alternatives.

kindest regards

0 likes
6 replies
OussamaMater's avatar

My favourite so far, Alpine.js

And it's similar to JQuery in a way, that the author himself had to do the comparison

Think of it like jQuery for the modern web

4 likes
dealense's avatar

Alpine js is easy and nice one but youmightnotneedjquery.com (Check this website :))

Ben Taylor's avatar

If you're not looking for a full on frontend JavaScript framework, then alpinejs. But if it's just to submit a contact form then there's nothing wrong with using plain old vanilla JavaScript. Look into the fetch API for making the ajax request.

jlrdw's avatar

I currently use fetch js. But I don't understand the article you read about Jquery, many Enterprise still use that.

It will probably outlast many of these new, hot, latest Frameworks that's coming out.

I know Fedex uses jquery.

Please or to participate in this conversation.