var textbox = 'sku_field'; var formbox = 'sku'; var MyElement = document.getElementById(textbox); var fieldtext = document.sku.sku_field.value; How would I put the variable texbox where sku_field? Thanks, Bryce
You would have to use a serverside script to post the variable there or alternatively you will need to write to the DOM. Sorry, but there are no short cuts.