[Solved] Is there a Vanilla JS alternative for the jQuery UI Dialog widget [closed]

Only to a certain extend. You might use alert, prompt or confirm dialogs (implemented as functions on the window object), but they can’t be styled and look different between various browsers. Creating a special modal/dialog with vanilla JS is of course possible. How hard it is depends on the features you want/need it to have. … Read more

[Solved] how to add icon on title in jquery dialog-extend

i got solution to add custom icon on title code is below: $(function(){ // ADD HTML FOR NEW BUTTON var newBtn = ‘<a class=”ui-dialog-titlebar-refresh ui-corner-all ui-state-default” href=”#” role=”button” style=”position: absolute; top: 50%; right: 5.5em; margin-top: -10px; height: 18px;”><span class=”ui-icon ui-icon-refresh”>refresh</span></a>’; ////auto open dialog///////////// //check cookie if( document.cookie.indexOf( “Once=true” ) < 0 ) { //dialog options … Read more