7 lines
189 B
JavaScript
7 lines
189 B
JavaScript
|
$(function(){
|
||
|
$("#content").bind("input change", function(){
|
||
|
$.post("/getHtml", {md: $(this).val()}, function(resp){
|
||
|
$("#md").html(resp.html);
|
||
|
});
|
||
|
})
|
||
|
});
|