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
Post a Comment