NameSilo

Read ms access database, store value in Javascript variable

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

Niko2005

New Member
Impact
0
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.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Truehost — .com domains from $4.99, hosting includedTruehost — .com domains from $4.99, hosting included

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back