[thelist] changing submit button value with javascript

Joel D Canfield joel at streamliine.com
Tue Jul 31 20:18:21 CDT 2007

> toggleValue('submit0',this,'Save','Del');
> When you check clickedID in the function it finds the string 
> 'delasset0'
> which it then evaluates the method 'checked', which never 
> exists so will always be false

well, you were right, Dan. I'm puzzled about why 'submit0' has to be
passed as a string (or I get an error) but delasset0 *can't* be passed
as a string. seems like we're dealing with what's an object, and when,
but I don't get it.

thanks, though, for pointing me in the right direction.


More information about the thelist mailing list