Re: [PHP-WIN] using a variable in a JS dot notation string

2004-01-27 Thread K.Bogac Bokeer
Try this: rBvalue = document.voteForm.[0].checked Bogac. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] using a variable in a JS dot notation string

2004-01-27 Thread Herhuth, Ron
I have a Javascript function in my PHP page that I need to plug a variable into, and for the life of me I can't figure out how to do it. This is the hardcoded version that works: rBvalue = document.voteForm.Test_Amendment_One[0].checked In the above example the "Test_Amendment_One" is the value