Approaching Dialog Messages

Mixing logic is a dirty business. Filling your JavaScript with hard coded HTML is very rarely a good idea that can potentially diminish a project's extendibility. Luckily I had the opportunity to face this problem head on and arrive with an amicable solution.

Whilst building my University Major Project I came across the issue of managing various user prompted dialogue messages—you know, those alerts that notify the user; "Sorry, the username JonSnowRulez777 has already been taken!". After scouring stack overflow and devote:ee for advice or a plugin I fell short and was unsuccessful. I decided to embark on creating my own solution specifically for this project.

Continue Reading