```
<input type="text" id="id_part_pay"  value="<?php echo $listing['part_pay'];?>" class="textbox" name="part_pay" autocomplete="off" />
                        <a href="" id="partpay_tooltip" class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" title="<?php echo $listing['part_pay']; ?> % of amount paid during booking online and remaining <?php echo $listing['partpay_tooltip'];?>% paid during check in " data-original-title=""></a></label>

```

If a user entered a value in a textbox, how do you dynamically change the value of a tooltip title?