The setExpression MethodIn the Internet Explorer, you can assign scripting expressions to object properties using setExpression . You can see the support for this method in Table 6.51. Table 6.51. The setExpression Method
Here, property is the property you're assigning an expression to, expression is the expression to assign, and language is the scripting language you're using. For example, here's how to assign the value in a text field to the width style property of another text field: text2.style.setExpression("width", "eval(text1.value)", "JavaScript") |