Field Access question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ortoped

    Field Access question

    Hello to All of You Kind PPL!!!

    I ma using apache struts. Struts generated field name for my checkbox as follows:

    <input type="checkbox" name="contribut ions[0].deleteFlag" value="on">

    How to refer to this field in JS?

    I am tryin to say
    document.myform .contributions[0].deleteFlag.val ue = "true"

    DOESN'T WORK!

    Please help. Thank you in advance.
    ortoped.
  • Richard Cornford

    #2
    Re: Field Access question

    ortoped wrote:[color=blue]
    > I ma using apache struts. Struts generated field name for my checkbox
    > as follows:
    >
    > <input type="checkbox" name="contribut ions[0].deleteFlag" value="on">
    >
    > How to refer to this field in JS?[/color]
    <snip>

    <URL: http://jibbering.com/faq/#FAQ4_25 >

    Richard.


    Comment

    Working...