i have 5 checkbox items with same name:
input name=geographic value=1 type=checkbox
input name=geographic value=2 type=checkbox
input name=geographic value=3 type=checkbox
input name=geographic value=4 type=checkbox
input name=geographic value=5 type=checkbox
and option to select multiple
On 9/6/06, Aljosa Mohorovic [EMAIL PROTECTED] wrote:
i have 5 checkbox items with same name:input name=geographic value=1 type=checkboxinput name=geographic value=2 type=checkbox
input name=geographic value=3 type=checkboxinput name=geographic value=4 type=checkboxinput name=geographic value=5
I think that this might work, though I haven't tried combining attribute
tests and pseudo classes before:
$('[EMAIL PROTECTED]:checked')
Shawn's solution below won't work for you because it is searching on ids
rather than names, which is what you have.
Shawn Tumey wrote:
On 9/6/06, *Aljosa
On 9/6/06, Stephen Howard [EMAIL PROTECTED] wrote:
Shawn's solution below won't work for you because it is searching on idsrather than names, which is what you have.DOH. My bad. Setphen is correct, my solution won't work. I almost never use the name attribute any more, I always use id.
I need to