Ok so I'm getting a php variable and putting it in a javascript variable and that works fine. But now I need to get the output of this var
var ltc_cryptsy
into
var data1 = [{
field1: 'LTC',
field2: Here's where I need to put the variable,
field3: '$601',
field4: '$599',
field5: '$605',
field6: '$597',
field7: '$599',
field8: '$605',
field9: '$597'
How can I do that?
data1[0].field2=ltc_cryptsy
将起作用
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.