How to use inner html value or data in php from javascript(innerHTML)?

Use inner html value or data in php from javascript(innerHTML)?

use inner html value in php(innerhtml)

var jassi = document.getElementById(“demo”).innerHTML;
//document.write(jassi);

<?php
$jassi = ‘document.write(jassi);’;
echo $jassi;

?>

Leave a Reply

Your email address will not be published. Required fields are marked *