|
Posted by IchBin on 11/12/06 07:31
IchBin wrote:
> BKDotCom wrote:
>> echo the function call from php likey so?
>> echo 'setCheckedValue("abbr_letter", "'.$_SESSION['abbr_letter'].'");
>> '; //?
>>
>
> Thanks for the call format. I think I maybe having a problem with the
> javascript function.
>
Yea, I rewrote the js function and I know it works now... I just need to
find the right place to call it in my code.
function setCheckedValue(newValue) {
var len = document.author_abbrv.abbr_letter.length
for(var i = 0; i < len; i++) {
document.author_abbrv.abbr_letter[i].checked = false;
if(document.author_abbrv.abbr_letter[i].value ==
newValue.toString()) {
document.author_abbrv.abbr_letter[i].checked = true;
}
}
}
--
Thanks in Advance... http://ichbin.9999mb.com
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
______________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Navigation:
[Reply to this message]
|