[thelist] changing submit button value with javascript

Joel D Canfield joel at streamliine.com
Wed Aug 1 11:28:01 CDT 2007

> First,  if (clickedID.checked == true) can not work, as 
> "clickedID" here is a string, and not an object.

understood; why does toggleID *have* to be passed as a string?

> function toggleValue(toggleID,val1,val2)
>      {
>          if (this.checked)

even more succinct than Dan's suggestion

> Next, what is this?:

old version which I could get to work, but didn't want :)



More information about the thelist mailing list