I need to be able to find a record by a unique code from a ms access database,
take the value of the price field in that record,
then store the value in a JavaScript variable.
These variables are being used for calculations.
So can I change the hard coded JavaScript code
e.g.
var price1=(229); // 229 being $229 the price for item1
to
var price1=(item1); // item1 = 229 - value read from database and stored in variable price1.
Thanks.
take the value of the price field in that record,
then store the value in a JavaScript variable.
These variables are being used for calculations.
So can I change the hard coded JavaScript code
e.g.
var price1=(229); // 229 being $229 the price for item1
to
var price1=(item1); // item1 = 229 - value read from database and stored in variable price1.
Thanks.


















