I want to use the jquery ui, but I'm missing the css in below environment:
$.ajax({
url: '//code.jquery.com/ui/1.12.1/jquery-ui.js',
dataType: 'script',
cache: true,
success: function() {
$( "#dialog" ).dialog();
}
});
$( "body" ).append('<div id="dialog" title="Basic dialog"><p>test</p></div>');
Believe I'm missing this part:
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
How can I use the style from the jquery ui framework? Link: https://jqueryui.com/dialog/#default