Folks,
I am using simple div/span... no form.
When I attempt to index an element is showing undefined.
1. document.forms[0] produces my form alright and it has a name
BUT document.forms.${myFormName} produces undefined at
runtime ? Why the lapse ? myFormname equates to the
actual form name
EVEN this fails... document.forms['${myFormName}'] as
undefined
2. Assignment to <span name="sams as id" show up blank in debugger ? This
prevents me from accessing is using DOM notation.
Jesse/Andy... can you assess/advise the usability of this script? The docs are
too scarse on outputs and the example code in the docs is out of context. How
are we suppose to assign values to a dom element (which I am mapping to an
abstract ognl component method parameter) when
accessing/subscripting/dereferencing these in script body is not even possible?
<input-symbol...
<let key="...
There is no ability to de-reference variables beyond these thereafter.
The docs state this is all powerful and usable but I oanly see inputs
working... I need to manipulate outputs by setting values to parameters/values
in the DOM space... (or setting properties in the OGNL space) within my script.
Can someone give a comprehensive snippet that shows an authentic assignment
within a script to assign to both parameters/values in the DOM space and
setting properties in the OGNL space?
I am trying to pioneer some fertile ground here and happy to produce a new
widget for public consumption based on your framework.
Thanks in advance...
Best regards Ken in nashua
_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us