popcornplya Posted April 27, 2009 Share Posted April 27, 2009 Whats the difference between window.alert("lol"); and alert("lol"); and why do they have both of them? Link to comment https://forums.phpfreaks.com/topic/155768-whats-the-difference/ Share on other sites More sharing options...
gnawz Posted April 27, 2009 Share Posted April 27, 2009 lol That depends on the javascript version and settings in JS 1.1 gor exaple, you can't just use alert...there must be window.alert Link to comment https://forums.phpfreaks.com/topic/155768-whats-the-difference/#findComment-819952 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.