Javascript Coding Problem

I need some help with some mathematical script. To view the script in action please go to

[url removed, login to view]

Click ‘CONTINUE’ to access the form that I need some assistance with.

Once you arrive at the form keep clicking ‘CONTINUE’ until you get to the Shareholders information.

If you type in a number of shares in the form for Shareholder 1 under current £1 shares held (say 100) and then click on the new share allocation ‘A’ box below and type in an amount (under 100) both ‘A’ and ‘B’ boxes re-calculate so that the sum of both are never greater than the current shares held

To see the code for this page see the following link

[url removed, login to view]

This all works very well for two classes of share (‘A’ and ‘B’) but the pages that I am attempting to write will be having 3 and 4 classes as well, so:

‘A’, ‘B’ and ‘C’ shares; and

‘A’, ‘B’, ‘C’ and ‘D’ shares

The idea that I had to overcome this would be as follows:

The problem occurs when there are more than 2 classes

If 100 shares are entered in the current share allocation and the box below is clicked then it will show 100 also. If the next box (new allocation ‘B’ shares) is clicked then the ‘A’ and ‘B’ box will show 50 shares each as it has re-calculated. The problem occurs when you click on the ‘new allocation ‘C’ box as I do not know how it can be re-calculated or if it is even possible

Kemahiran: HTML, Javascript, PHP, Memasang Skrip

Lihat lagi: javascript coding problem, page problem, javascript go to, how to get coding, go javascript, get coding, re-type pdf, help with javascript, help with coding, coding help, pdf form javascript, attempting, javascript sum sum, shareholders, javascript write, javascript form show, access coding help, coding php pages, pdf calculate javascript, coding access, javascript access, javascript click page, javascript problem, form action link javascript, javascript show

Tentang Majikan:
( 8 ulasan ) Waterlooville, New Zealand

ID Projek: #1525815

Dianugerahkan kepada:


Please check private message .

$100 USD dalam 2 hari
(687 Ulasan)

10 pekerja bebas membida secara purata $101 untuk pekerjaan ini


quick pro help. ftp and escrow required.

$135 USD dalam 2 hari
(799 Ulasan)

Hi, please check PM for details, Thanks

$95 USD dalam 2 hari
(106 Ulasan)

i can help you with the javascript.

$70 USD dalam sehari
(82 Ulasan)

Hi, sire. I can do it. Please check PM. Thanks and regards.

$100 USD dalam sehari
(33 Ulasan)

Hi, I am Java developer with a lot of experience in Java web development and Javascript development. I read the description of your task and I think it can be solved easily. I have an idea how to solve the problem b Lagi

$60 USD dalam sehari
(3 Ulasan)

Hi I'm starting at freelancer.com, trying to work on a small project to experience the work system. Yours seems a nice point to start, so i'm biding. I like catching and fixing crazy errors :) it could be funny

$80 USD dalam sehari
(0 Ulasan)

Hi, this script can be made very easily, please check my PM for my approach.

$65 USD dalam 2 hari
(1 Ulasan)

I have one logic which i sent as private message to u. If you are ok with the logic then i can provide you the entire code.

$50 USD dalam sehari
(0 Ulasan)

Check PMB please.

$250 USD dalam sehari
(0 Ulasan)