Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to pull dynamic data from a database with JQuery and display it in a webpage table? Re: How to pull dynamic data from a database with JQuery and display it in a webpage table?

#134825
__
Participant

I don’t know ASP, but [the first few results here](https://www.google.com/search?q=json+with+asp&oq=json+with+asp) look promising.

[JSON](http://json.org) itself is nothing more than a text format for data exchange – just a way to serialize things to pass them back and forth (e.g., from server-side to client-side applications). So, if your SQL query returned a product named “widget” that cost $25, you might have JSON like so:

{“product”:”widget”,”price”:25}

… and, once you sent it to your javascript application, you could do something like

var product = JSON.parse( ‘{“product”:”widget”,”price”:25}’ );

which would give you a javascript object you could use to write a new item description, etc.. If you want something ready to integrate with Volusion, you might have to do a bit of searching (or hire an ASP dev).