Show text value on mousehover
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2023 01:32 AM - edited 01-07-2023 01:56 AM
<div >
<input id="abc" onmouseover="ShowToolTip(this.id)" title="" class="select2 form-control ev-field ev-field-reference"/>
</div>
<script>
function ShowToolTip(txtbox)
{
var ToolTip = document.getElementById(txtbox);
ToolTip.title=ToolTip.value;
}
</script>
How to show value entered in input box when mouse is hover on textbox?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2023 02:38 AM
Hi @CA5,
Try by adding tooltip.
<div >
<input id="abc" tooltip="add tool tip text here" title="" class="select2 form-control ev-field ev-field-reference"/>
</div>
Take a look at old thread -
Mouse hover message on Service portal widget?
Thanks,
Sagar Pagar