10 NOV

Lesson 35: AHAH! Houston, we have some HTML!

This week in the Dojo, quicksketch shows us about AHAH (AJAX's big brother, Asynchronious HTTP and HTML transfer), and how to spice up your forms.

AHAH allows dynamically adding form elements. If you download Drupal 6, you'll be suprised that in the Blocks page, Poll node form, and Book organization page, there is some nifty JavaScript to help you, the site administrator around.

In the end, we might get a sneek-peek at Drag 'n Drop (patch here) and how to add it to the page.

jQuery debug plug-in.

Url: 
http://jquery.glyphix.com/
Description: 
jQuery plugin for debugging from glyphix.com. Works with the Firebug console or prints directly into the end of your pages. Include it into your project by using drupal_add_js('/path/to/jquery.debug.js') then chain a ".debug()" where ever an object is returned. e.g. $('div').filter('.hello').debug(); or get a quick glance at your variables with $.log(myVariable);.
Syndicate content