Replace with is only working once, I am outputting the data and this is updating so I know data has changed, however it is not writing the new data to the div appart from the 1st time.
$( "#searchboxform" ).keyup(function() {
var forminfo = $('#searchboxform').val();
$.get("searchliveresults.php?search="+forminfo,function(data,status){
alert("Data: " + data + "
Status: " + status);
$("#searchresults").replaceWith(data);
});
alert( "Handler for .keyup() called." );