Source Rally PHP Community Scripts .. Sign up .. Login
Javascript function
Access: Public      Tags: javascript, checkbox, select
Add to favourites       Subscribe comments       Copy code       Bookmark
function selectAll(elem)
{
    f = elem.form;
    for(i=0;f.elements[i];i++)
    {
        if(f.elements[i].type=='checkbox')
        {
            f.elements[i].checked = elem.checked;
        }
    }
}
Add to favourites       Subscribe comments       Copy code       Bookmark
Sign up to add your own comment here!

Shared by:

regin

Mail user Add to friends
All user contributed content is available under the LGPL unless specified otherwise.
Remaining copyrights Regin Gaarsmand © 2006-2008
About SourceRally.net
Programador PHP