Devam Ediyor

494831 Javascript/Jquery dynamic pricing on a form

I have a form which has a series of checkboxes in two groups. Each checkbox represents an item being purchased. I have a total box which I need to dynamically update based on the formula 5 x the number of checkboxes ticked.

So as the checkboxes are ticked and unticked I need the total field updating.

I need the coding written so it will cope if I add or remove checkboxes.

Any events need on the checkboxes will have to be added by your javascript.

So the logic for the code is

On load

Add any events to the checkboxes.

On change on any checkbox

Count the checked checkboxes. multiple this number by 5 and update a text field with this value.

Nice and simple.

Beceriler: Her şey Kabul, Javascript, jQuery / Prototype, PHP

Daha fazlasını görün: 494831, dynamic coding, coding events, need pricing, logic x, javascript jquery, dynamic pricing, javascript multiple, multiple form, change checkbox, jquery dynamic, multiple jquery, javascript value change, checkbox change, change javascript, php jquery update, dynamic javascript form, dynamically load javascript, jquery form change, jquery dynamic form, update jquery, pricing code php, box pricing, form php jquery, count jquery

İşveren Hakkında:
( 110 değerlendirme ) West Malling, United Kingdom

Proje NO: #2240746

Seçilen:

WillxD

Hello Sir, I'm ready to start.

0 gün içinde 20$ USD
(86 Değerlendirme)
5.8