I have a link on my page that can be edited in place. When the input box is focused out I want to reload the parent li tag which has the id="<%=micropost.id%>"
<script>
$(document).ready(function(){
$('#editing_yt_url_<%=micropost.id%>').focusout(function(){
$('#<%=micropost.id%>').refresh();
});
});
</script>
The .refresh
part isn't working. $('#<%=micropost.id%>').hide()
will hide the entire li tag so i know its responsive but I don't know the proper method to just refresh that tag