If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

So what I want to happen is: when user selects item from "TYPE" is changes the value in "VALUE" Box by the calculation to show the new figure before submit is clicked and without refreshing the page to save the new figures to the database. The second box cannot be changed by the user. I have played with JScripts and stuff but cant get it to work. I have only supplied the code Prior to J Script as I think I made a real mess of it.

Also I know It is Mysql at present. I am just finalising learning PDO at the moment and AM GOING to be using PDO in the future. :-) But just want to get this sorted using the code I know at present, then I can change over to PDO.

It Worked - Sort Of... :-)

Originally Posted by rnd me

give the target input an id of targ, then in your <select>, add onchange="targ.value=this.value"

Thanks heaps :-) Seems like a simple answer (for you experts) It seemed that I wasnt writing the command correctly and got it mixed up with each one. Now that part is working... I have got the transfer of info as needed... However the next part though is, if you see in the code its working out a formula where the "TARG" is. This is based from the number in the first box and then a number from another area. How would I make that "TARG" be the varable in the formula instead? So evertime the first box changes it changes the formula answer.