hamza Posted September 26, 2008 Share Posted September 26, 2008 noscript tag is working in firefox and safari but not working in IE i am using noscript tag with php / what is the reason ?? Quote Link to comment https://forums.phpfreaks.com/topic/125882-noscript-tag-problem/ Share on other sites More sharing options...
PFMaBiSmAd Posted September 26, 2008 Share Posted September 26, 2008 You would need to post an example of what you are doing. Since php is parsed on the server, a <noscript> tag has no relevance to php code. The <noscript> tag only has meaning in the browser when scripting in the browser is turned off. Quote Link to comment https://forums.phpfreaks.com/topic/125882-noscript-tag-problem/#findComment-650932 Share on other sites More sharing options...
hamza Posted September 28, 2008 Author Share Posted September 28, 2008 Any solution to check on the client side that js is enable or not........................ Quote Link to comment https://forums.phpfreaks.com/topic/125882-noscript-tag-problem/#findComment-652121 Share on other sites More sharing options...
sKunKbad Posted October 2, 2008 Share Posted October 2, 2008 Any solution to check on the client side that js is enable or not........................ If you need to check if javascript is enabled or disabled, simply try to set a cookie in javascript, and then have php check if it exists or not. This obviously can't be done at once, but I do this on sites. Page 1 : Try to set the cookie using javascript. Page 2 : Check for the cookie that javascript tried to set using php. If php knows that javascript is on or not, php can set a seperate cookie that lets it know on any page to output javascript or noscript alternative stuff. Quote Link to comment https://forums.phpfreaks.com/topic/125882-noscript-tag-problem/#findComment-655230 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.