PREFACE:
A friend of mine and myself (being super amateur at web design) have been trying to build a site in order to see a particular good (money in a game... not sure why I feel nerdy about that when posting in a JScript forum...)
So I have ripped and retailored code from other sites and I'm not really a big fan of just grabbing someone's code, but I've yet to grasp what I'm trying to do and/or not sure of the correct terminology to research it to learn it fully.
PROBLEM:
I would like to make a simple converter box where person puts in number in boxA, boxB then returns (without clicking or changing type focus) 20% of boxA
document.convert.value = document.convert.InUnit.value * 0.20
Kind of like so, and then I would like to be able to have a checkout button below that that sends the value of boxB to paypal (which I'm not sure if THIS section is doable without PHP on the server side.
The website I'm working on is listed below, I have an example of what I'd LIKE it to look like on the page, but the code there you can see is awefully diluted, and I'm sure there's a way to streamline it back down to just a few if / var statements
Thank you much for your time/code knowledge/or finger pointing directions!
A friend of mine and myself (being super amateur at web design) have been trying to build a site in order to see a particular good (money in a game... not sure why I feel nerdy about that when posting in a JScript forum...)
So I have ripped and retailored code from other sites and I'm not really a big fan of just grabbing someone's code, but I've yet to grasp what I'm trying to do and/or not sure of the correct terminology to research it to learn it fully.
PROBLEM:
I would like to make a simple converter box where person puts in number in boxA, boxB then returns (without clicking or changing type focus) 20% of boxA
document.convert.value = document.convert.InUnit.value * 0.20
Kind of like so, and then I would like to be able to have a checkout button below that that sends the value of boxB to paypal (which I'm not sure if THIS section is doable without PHP on the server side.
The website I'm working on is listed below, I have an example of what I'd LIKE it to look like on the page, but the code there you can see is awefully diluted, and I'm sure there's a way to streamline it back down to just a few if / var statements
Thank you much for your time/code knowledge/or finger pointing directions!