I
I
Ilaj Osmanov2017-02-28 21:23:01
JavaScript
Ilaj Osmanov, 2017-02-28 21:23:01

How to select all radio except the current one?

There is a table with radio buttons and a sum column.
How do I select all radio buttons that are inactive and bring down the corresponding amount to zero ?9c0d09f6163648d7abd9b7fd1b9f9fb0.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Aksentiev, 2017-02-28
@Sanasol

radio is, by definition, for choosing one thing ...
checkboxes are needed, well, there already everything is inverted on JS

O
Orbb, 2017-02-28
@humiliation

overwrite price when selecting one value
something like (pseudocode)
#block > checkbox on click new price = this.checkbox price * count

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question