phppup Posted January 8, 2019 Share Posted January 8, 2019 I have a simple ALERT that will NOT display a phrase that contains a space between words. I've tried OnClick and OnMouseOve, but the result is the same. onmouseover=alert('HelloBoysandGirls'); //works fine as a pop-up onmouseover=alert('Hello evrybody'); //refuses to operate Solution? Reason? Quote Link to comment https://forums.phpfreaks.com/topic/308119-an-odd-issue-with-an-alert/ Share on other sites More sharing options...
requinix Posted January 8, 2019 Share Posted January 8, 2019 Attributes in HTML need quotes. onmouseover="alert('Hello evrybody');" Quote Link to comment https://forums.phpfreaks.com/topic/308119-an-odd-issue-with-an-alert/#findComment-1563369 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.