ciber Posted July 6, 2008 Share Posted July 6, 2008 I am looking through some js script in a php file, what exactly does it mean to have this <!-- and //--> in a script? Link to comment https://forums.phpfreaks.com/topic/113419-solved-lt/ Share on other sites More sharing options...
bothwell Posted July 6, 2008 Share Posted July 6, 2008 I am looking through some js script in a php file, what exactly does it mean to have this <!-- and //--> in a script? They're comment tags Link to comment https://forums.phpfreaks.com/topic/113419-solved-lt/#findComment-582781 Share on other sites More sharing options...
Barand Posted July 6, 2008 Share Posted July 6, 2008 Not all the early browsers recognised script tags so the content had to placed inside an HTML comment block. These days they are totally redundant. Link to comment https://forums.phpfreaks.com/topic/113419-solved-lt/#findComment-582782 Share on other sites More sharing options...
ciber Posted July 6, 2008 Author Share Posted July 6, 2008 ok - cause i removed them, it wont affect anything then? Link to comment https://forums.phpfreaks.com/topic/113419-solved-lt/#findComment-582792 Share on other sites More sharing options...
Barand Posted July 6, 2008 Share Posted July 6, 2008 Only those users that haven't upgraded their browser software in the last ten years Link to comment https://forums.phpfreaks.com/topic/113419-solved-lt/#findComment-582793 Share on other sites More sharing options...
ciber Posted July 6, 2008 Author Share Posted July 6, 2008 10 years OK ... im not bothered now, since +60% of my users use FF 2 & 3 Thanks for your help! Link to comment https://forums.phpfreaks.com/topic/113419-solved-lt/#findComment-582802 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.