The following test case fails with an obscure JQuery error message ("elem.style has no properties" on jquery.js:698):
<div id = "placeholder"></div>
<script type = "text/javascript">
$(document).ready(function() {
$('<div class = "ui-slider-1">' +
'<div class = "ui-slider-handle"></div>' +
'</div>').slider().appendTo('#placeholder');
});
</script>
This attempts to create a new JQuery object from HTML, turn it into a slider, and then add it to the DOM. If I reverse the order of those calls, appending it into the DOM first and then turning it into a slider, it works fine:
<div id = "placeholder"></div>
<script type = "text/javascript">
$(document).ready(function() {
$('<div class = "ui-slider-1">' +
'<div class = "ui-slider-handle"></div>' +
'</div>').appendTo('#placeholder').slider();
});
</script>
I'm not sure if you need to support this, since the workaround is simple. But if not, it should be clearly documented on the Slider's documentation page. It took me a while to track down because the error message is so inscrutable...