getTime = () =>{
time = document.getElementById("time").innerHTML
console.log(time)
}
Hi how to get this time value out to a different script? just the syntax would be greatly helpful. i am new
edit : = i am working on a plugin i want to use the value of time in a different js file. to better manage. prepared a js just to scrap three text(time being one of them) from the opened site. then i want to do rest of the thing in a a different js file. if any one can share with example. would immensely appreciate. Thank you