- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2022 12:44 AM
Hello ServiceNow Community,
I'm working on a requirement to add a tooltip/hint on hover for the Knowledge Article Template Selector. Is this possible?
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2022 01:45 AM
Hello Sam,
I find some code and edit it to make an alert on hover over a field :
function onLoad() {
//Comment here
var message=g_form.getControl('field name');
jslog('message = ' + message);
message.onmouseover=myOnhover;
function myOnhover() {
alert(getMessage('I hovered'));
}
}
But there is quite a lot articles on community which are very similar to your problem, and you may find them helpful:
Can we pop-up message / alert when we mouse click /Hover on any field ?
CMS hover (hint/mouse over) functionality
How to Display POP-UP Box [ Message Box] when we click on Button
Regards,
Marcin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2022 01:45 AM
Hello Sam,
I find some code and edit it to make an alert on hover over a field :
function onLoad() {
//Comment here
var message=g_form.getControl('field name');
jslog('message = ' + message);
message.onmouseover=myOnhover;
function myOnhover() {
alert(getMessage('I hovered'));
}
}
But there is quite a lot articles on community which are very similar to your problem, and you may find them helpful:
Can we pop-up message / alert when we mouse click /Hover on any field ?
CMS hover (hint/mouse over) functionality
How to Display POP-UP Box [ Message Box] when we click on Button
Regards,
Marcin