Scripting Shorthand Question

Feb 10, 2012 at 12:25 AM

Is it possible to easily implement (e.g. without creating my own wrapper, overriding TryGetProperty, etc) Firefox-like shorthand notation:

Example:

<form name="foo">
   <input name="bar" />
</form>

document.foo.bar.value = 'Frank';