This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C022F4.7A5C9300
Content-Type: text/plain;
charset="windows-1253"
I have this part of a javascript code:
count = (box1 ? 1 : 0) + (box2 ? 1 : 0) + (box3 ? 1 : 0);
where box1, box2, box3 are the names of checkboxes.
But i want this part of javascript to be generated dynamically, meaning that
the checkboxes must "come" from a recordset.
I know how to refer to a checkbox: box<%= R1("arl_abs_id")%>, but i don't
know how to print the :
count = (box1 ? 1 : 0) + (box2 ? 1 : 0) + (box3 ? 1 : 0);
where box1=box<%= R1("arl_abs_id")%> for the first record.
I suppose I could use a do while not R1.EOF , but i don't know how.
thanks