Grabbing inputs from the DOM with my favorite javascript libraries

Grabbing input elements with my favorite JavaScript libraries



WhatPrototypeYUI
All inputs$$('input')YAHOO.util.Selector.query('input');
All checkboxes$$('input[type=checkbox]') Sweet with .eachYAHOO.util.Selector.query('input[type=checkbox]:checked');
All inputs in table with class .data_display $$('.data_display input') YAHOO.util.Selector.query('.data_display input');

Comments

Popular posts from this blog

2 ways to get SQLite to put dates into columns

What's installed on my ec2

BootstrapX clickover