رفرش فایل php که include شده به صفحه index
سلام دوستان وقتتون بخیر میخواستم بدونم چطوری میتونم یه صفحه که include شده به صفحه index رو رفرش کنم
با جاوا یسری محصول رو به سبد خرید اضافه میکنم که این کار در صفحه انجام میشه ولی چون یکسری تصاویر هم باید لود بشه برای هر محصول باید اون صفحه رفرش بشه
ولی این عمل رفرش رو نمیتونم انجام بدم چون با افزودن محصول به سبد خرید کل صفحه رفرش میشه و من میخوام فقط فایل php که include شده رفرش بشه
نقل قول: رفرش فایل php که include شده به صفحه index
در جاوا اسکریپت با دستور window.location.reload() استفاده کن
نقل قول: رفرش فایل php که include شده به صفحه index
ممنون دوست عزیز ولی این کد کل صفحه index رو رفرش میکنه من میخوام فقط صفحه مثلا Cart که به index ا include شده رفرش بشه