i have a variable need to change value in javascript

but this variable name composed with another variable ,

how can i change the value of that variable



document.form.aaa_id.value where id is a variable , thx