NYCPHP Meetup

NYPHP.org

[nycphp-talk] Javascript "select all" feature?

Wellington Fan wfan at encogent.com
Tue Apr 13 17:47:11 EDT 2004


Sweet! Nice and tidy...


> function allstates(state, o) {
> 
> 	var i;
> 
> 	for (i = 0; i< o.length; i++) {
> 		o[i].checked = state;
> 	}
> 
> }




More information about the talk mailing list