how can i insert javascript $.post result into textfield. below is my code. But it is not working

```
$.post("scripts/service_getmaxPrice.php", {id:id}, function(data){
    $("#maxPrice").innerhtml.html(data);
    document.getElementById('maxPrice').value =html(data);
}); 

```

html code is 

```
<tr><td class="ttxt" style="text-align:right;">Maximum price</td><td><input type="text" id="maxPrice" class="txt" name="maxPrice" />

```