I have two questions

one: what is returned by a checkbox

two: how do you acces an elements class using javascript

    Hi,
    whe posted a checkbox send the couple "name=value" if checked, nothing else. You can use (isset(chkb1) && empty(chkb1)) to check if a value is submitted.

    To access a checkbox just use
    document.nameform.namecheckbox.checked

    see you

    P.s: but why in this forum?!?

      Write a Reply...