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? Link to comment 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');" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.