Ajax Star Rating System

Learn how to build an Ajax Star Rating System using Javascript's powerful Prototype framework.
Rating: +180

Automatically expand or contract a textarea

In this short tutorial you will learn how to automatically expand or contract a textarea while typing. This is handy when you want to restrict space in your contact form layout but still give the user access to this fine piece of usability. I've added some extra functionality like highlighting a field when it's focused and sending the form with Ajax to our back-end. Enjoy!
Rating: +704

Stop default link and form behaviour

In this short tutorial you will learn how to stop default link, form or any other element's behaviour when it is clicked. (like a link or a submit button)
Rating: +45

Drag, drop and sort images with Prototype and Script.aculo.us

In this tutorial we use Prototype with the Script.aculo.us Javascript libraries to sort images or any list of items you want. Then we, optionally, save the order automatically to a database.
Rating: +759

Submit forms with Prototype without refreshing the page

In this short tutorial we use the Prototype library to send forms to our back-end for processing.
Rating: +430

Periodical live update content on your web page

In this tutorial we will get data and do a live update on our page. You can use it as a real-time visitor counter, stock exchange ticker (boring...), live scores from a game. In fact anything that needs live updating. For this tutorial we'll make a live visitor counter. Hell yeah!
Rating: +2591

Toggle multiple elements

In this tutorial we will toggle elements, paragraphs for example, by their selector ID and by their position in the DOM (if for some reason their ID is unknown, like dynamically inserted content).
Rating: +253

Retrieve and display data without refreshing

In this tutorial we will use the Prototype javascript framework to retrieve and display comments made on a news item without refreshing the browser. In fact you can get any data you want, but for the purpose of this tutorial we'll stick with retrieving comments.
Rating: +260

Multiple page loading without refreshing

In this tutorial we will retrieve and display pages without refreshing the browser.
Rating: +147