Over a million developers have joined DZone.

Ultra Simple Prototype.js AJAX Example

DZone's Guide to

Ultra Simple Prototype.js AJAX Example

Free Resource
Taken from the great Amy Hoy.

ajax replacing link

This link updates a line
With no JavaScript turned on, it'll go to the normal URL. Without, it'll do an XMLHTTPRequest and put the result in #testdiv.

Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}