Hack a little, but look at this demo →
The corresponding addition is the dialog open handler:
open: function() { $('.ui-button-text:contains("Continue")') .parent() .after('<div class="button-divider">OR</div>'); }
What it is: Select the ui button with specific text and insert a <div> after it. The class is important because you need at least one CSS style to properly position the seperator. Here are the styles I used:
.button-divider { margin: .5em .2em .5em 0; float: right; padding: .2em 0 .3em 0; width: auto; }
The important part of float:right; , because the ui buttons are floating, so your separator must also float to fit correctly.
Ender source share