简体   繁体   English

如何在我网站的页面之间发送数据

[英]How do I send data between the pages on my website

I'm not actually sure if this is a javascript-question, but here goes.我实际上不确定这是否是一个 javascript 问题,但这里是。 I'm making an online store for my employer(small business that can't afford professional help) and I have a problem.我正在为我的雇主(无法负担专业帮助的小型企业)创建一个在线商店,但我遇到了问题。 When the user clicks a product category link on the front page that directs to the product page, I want data to be passed to the product page so it knows which products to get from the database.当用户单击指向产品页面的首页上的产品类别链接时,我希望将数据传递到产品页面,以便它知道从数据库中获取哪些产品。 How do I do this?我该怎么做呢?

Thanks :)谢谢 :)

它被称为 XmlHttpRequest 或 Ajax,结合身份验证和授权,首先熟悉这些技术和术语,然后您就可以准备实施它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM