This is a small ajax library I use in many projects. It's small, light weight, and and easily modified.
The whole program is wrapped in a class called "plax" to prevent interference.
Uses '$' the same way jquery does, but this can be changed to $_ so they can be used together.
Features
- Quick access to elements by id, tag name, or class
- Quickly send AJAX posts without constructing the statements
- Automatically serialize forms
- Get, set, and delete cookies
- Create, Start, Stop, and Clear timers
- AJAX submissions can replace, append to elements by URL or form submission
- Automatic processing of Javascript when retreiving HTML pages using plax.get
- Create, and remove elements
- Detect clicks and mouse moves, add listeners
- Get current Date and time with plax.now()
Follow PLAX
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.