how to display value in p tag to other php file in every change value using javascript code example
Example: set text of dom element
document.getElementById("myBtn").textContent = 'Hello World';
document.getElementById("myBtn").textContent = 'Hello World';