include ('config.php');
<script type="text/javascript">
let SelTov = "<?=$tovar>";
function reply_click() {
$.ajax({
type: 'post',
url: 'list.php',
data: {'id': SelTov},
response: 'text',
success: function (data)
{
document.getElementById(el_id).innerHTML = data;
}
});
}
</script>