Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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.
Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

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.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}