Image

Does anyone know if there is an equivalent in JavaScript to PHP's $$? I would like to take a single variable name and be able to output the value for it as well as use the name to denote the form object being changed.