hammerstein
12-08-2009, 05:38 AM
I want to add something simple to my friends' site but know only a little bit of js.
What I want to work off of, is a dynamic table with 3 rows of 4 columns.
Column A would be a number entered by the user.
Column B would be - / + or * function entered by the user.
Column C would be another number entered by the user.
Column D would be the total.
Example : 5 + 25 = 30
Also I saw a page once where you could click a button and it added a new row of columns to a table like the one I want to work on and another button to remove it.
I've been reading and working on figuring this out but my js skills go as far as basic forms and not much with dynamic stuff.
Thanks in advance.
What I want to work off of, is a dynamic table with 3 rows of 4 columns.
Column A would be a number entered by the user.
Column B would be - / + or * function entered by the user.
Column C would be another number entered by the user.
Column D would be the total.
Example : 5 + 25 = 30
Also I saw a page once where you could click a button and it added a new row of columns to a table like the one I want to work on and another button to remove it.
I've been reading and working on figuring this out but my js skills go as far as basic forms and not much with dynamic stuff.
Thanks in advance.