Answer the question
In order to leave comments, you need to log in
How to output chrome console value in html tooltip?
How to output chrome console value in html tooltip?
Answer the question
In order to leave comments, you need to log in
Values do not get into the console by themselves - they are written there by some of your functions.
Make sure that your functions do not write to the console, but to the tooltip.
I advise you to simply override the methods.
console.log = function(s){
var tooltip = document.getElementById('tooltip');
var span = document.createElement('span');
span.innerHTML = s;
tooltip.appendChild(span)
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question