最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

ajax - how to make sure js is enabled before executing php function

programmeradmin1浏览0评论

I have a function that is in my post template and i need to make sure before executing the function that javascript is enabled. i have found a way using a cookie but it need to refresh the page twice to get accurate results and i think it is a bad practice for search engines too. PS: i can't get the function code because its encrypted in ioncube i just have the right to call it. Maybe if there is a way to call via ajax but i have no idea how to use ajax especially i don't have access to the functions code.

发布评论

评论列表(0)

  1. 暂无评论