![]() |
|
|
+ Search |
![]()
|
Mar 6th, 2001 15:05
B Kez, Tony Amaral,
This function takes the form name and the select box name as
parameters, and sets the "selected" attribute of every option to "true".
function selectAll(FormName, SelectBox){
temp = "document." + FormName + "." + SelectBox;
Source = eval(temp);
for(x=0; x<(Source.length); x++){
Source.options[x].selected = "true";
}
}