I am using the jquery slider and using append() to update the value, but it will keep adding it unless I empty it on the start event. Is there a way where I can just updated the value instead of printing it out every time the action takes place. i tried replaceWith but no luck there.
start: function(event, ui){ $('#current_value').empty(); }, slide: function(event, ui){ $('#current_value').fadeIn().append('Value is '+ui.value); },
You probably want something like
text() documentation