html - how to change get php info in htmlB -


i trying make product page various products on site. far don't have php backend.

my html

<div id ="itemsgohere> //getname() getimageurl() //getname() getimageurl() //getname() getimageurl() </div> 

the variables need call

 var productinfostring = {"images/product1.png" , "thisproducttitle", "$50"}  

can make php file store information , when user clicks on product1 it'll load productinfostring product1??

yes need ajax call on click of product , send it's id , return productinfostring value of product.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -