slider works but only once

slider works but only once


I have a slider (will include code below)... that works just fine the
first time it is displayed. I am using a jquery post function to go
grab some more data and then re-post the slider but this time it
doesn't work (can't slide it). Can anybody shed some light on what I
might be able to do to fix this? I have tried assigning unique names
to the slider elements for each load but it doesn't change anything.
A button has an onClick function that runs a post
$.post("myscript.php", {somevalue: ""+somevalue}, function(saveData){
});
<!-- this code is included in the myscript.php file that the post
calls -->
<div id='slider_container' class='slider_container'>
    <div class='slider_bar' id='slider_bar'>
        <div class='slider_handle' id='slider_handle'></div>
    </div>
</div>
<script>
$(function() {
$('#slider_bar').slider({
    handle: '#slider_handle',
    minValue: 0,
    maxValue: 100,
    stepping: 5,
    start: function(e, ui) {
        /* show a label */
    },
    slide: function(e, ui) {
        /* update a label */
    }
});
});
</script>