Re: give one hidden var to another, for multi delete, how?
- From: "Jim Michaels" <NOSPAMFORjmichae3@xxxxxxxxx>
- Date: Mon, 27 Feb 2006 10:35:31 -0800
"Jim S." <jim@xxxxxxxx> wrote in message
news:vVOIf.11962$Nv2.6698@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ok, here is my problem: ready?with javascript. note that people with disabilities use some machines that
i have a table of multiple columns and 3 row, now on the mid row in last
right cell, i have a form, to do some update for a pic, (no problem here).
now, what am trying to do is making a multiple delete checkboxes, where
when i list all the records (which are basically the second and third row
repeated)
i have a check mark on the far left , where i want to check so i can
delete one or more records, by pushing that top "Delete" word (or button)
that i mentioned earlier.
now the problem is i am not able to give the value of the checkbox to the
hidden value for the form where the Delete word is (or button),
so how can i give the value of the "checkbox" to the Hiden variable with
the Delete word (or button)?
Note: i can not envelop all the table with a form since i already have a
form in the far right cell . (that is why i mentioned it before)
so what can i do?
thanks all
Jim
have no javascript.
if your checkbox is in the first form and the hidden value is in the second
form,
if (document.forms[0].mycheckbox.checked) {
document.forms[1].myhidden.value=document.forms[0].mycheckbox.value;
}
.
- References:
- Prev by Date: Regular expression that's driving me mad
- Next by Date: can I let an image rotate in a webgallery?
- Previous by thread: give one hidden var to another, for multi delete, how?
- Next by thread: PHP Session ID problem
- Index(es):
Relevant Pages
|