Ok so jQuery isn't one of my strongest areas.
So far I have this -
What I intend to do is:
Input Box 1 = User enters a word
Input Box 2 = User enters amount (eg, 23 or 54 or 87)
So when the user enters a word, I am wanting to check a row in the database to see if that word is listed, if it is listed it gets the value for that word
(Row Structure = id, word, value)
Underneath I want it to say 'this word is listed and the value is *pulled value from the database*'
Then in box 2, the user enters an amount
Then underneath once again I am wanting the Users inputted value to be multiplied by the *words value from the database* which is found when entered in box 1
-- If the word is not listed (the part from box 1, the multiplication value will be 1 rather than the value found in the database)
(none of the text is displayed unless both boxes are filled in like in the example)
I have partially figured out the way to get it to work with 1 box, but not both
Any ideas how I could do this?
I hope it makes sense
So far I have this -
You must be registered for see links
What I intend to do is:
Input Box 1 = User enters a word
Input Box 2 = User enters amount (eg, 23 or 54 or 87)
So when the user enters a word, I am wanting to check a row in the database to see if that word is listed, if it is listed it gets the value for that word
(Row Structure = id, word, value)
Underneath I want it to say 'this word is listed and the value is *pulled value from the database*'
Then in box 2, the user enters an amount
Then underneath once again I am wanting the Users inputted value to be multiplied by the *words value from the database* which is found when entered in box 1
-- If the word is not listed (the part from box 1, the multiplication value will be 1 rather than the value found in the database)
(none of the text is displayed unless both boxes are filled in like in the example)
I have partially figured out the way to get it to work with 1 box, but not both
Any ideas how I could do this?
I hope it makes sense