Jens A. Koch

Playing the jsFiddle – alert() & jQuery.modal()

I’m showing how to override the classical alert box triggered by alert(), with a modal dialog box using jQuery.modal by Kyle Fox.
The Example includes
– replacing “new lines” with html line-breaks
– on the fly creation of DomElements with jQuery
All in all, pretty basic stuff. And lots of room for improvement.

It’s also the first time i use an in-browser example, which is executable by users. Just press the play button. Find the complete source code over at jsFiddle, but you might also browse the tabs.

Comments Off on Playing the jsFiddle – alert() & jQuery.modal()

Comments are closed.