Ajaxial is a single-file web library that embeds AJAX instructions directly in your HTML structure, allowing you to painlessly design client-server interactions without ever touching JavaScript yourself. With AJAX at your fingertips, the web becomes more powerful than all of Greece!
<!-- A form like this... -->
<form ajxl-path="/subscribe" ajxl-method="post" ajxl-swap="outerHTML">
<input type="email" name="email" required />
<button type="submit">Subscribe!</button>
</form>
<!-- ...can turn into this when submitted! -->
<p>Thank you for subscribing!</p>
Like what you see? Consider buying me a coffee 💜
You can download ajaxial.min.js
from this repository and reference it locally, or retrieve it directly from a CDN like JSDelivr. Ajaxial will start working automatically, just by adding the script tag to your page.
<script src="https://cdn.jsdelivr.net/gh/kgscialdone/[email protected]/ajaxial.min.js"></script>
See the documentation for more information.
Coming soon!
Thank you so much to these $5/mo+ sponsors for your support!
- Morgan Murrah ($5/mo)