> I have the following issue. I had to create a form which is
> populated from a query which can return multiple rows, one
> of the form elements is a Checkbox which is used to select
> a row or rows from the form to run a succeeding select query.
> Our users needed to capability to select or
Basically you need to re-doc (or undo) what you have just done :)
You are basically going to pass the total number of checkboxes.
Then loop on that value and evaluate it.
There are proabably various other ways that will get to the same result
Paul Giesenhagen
QuillDesign
http://www.q
You really don't need to refrence them by name.
function selectAll(formObj)
{
for (var i=0;i < formObj.length;i++)
{
fldObj = formObj.elements[i];
if (fldObj.type == 'checkbox')
{
fldObj.checked = true;
}
}
}
You'd have to use an if/then if you want
3 matches
Mail list logo