First way =>——————————- <script>var x = document.write(“”<?php echo $b; ?>) ;alert(x);</script> ————————————– Second way =>————————————– <script> var id = jQuery(this).attr(“id”); var ...
First way =>——————————- <script>var x = document.write(“”<?php echo $b; ?>) ;alert(x);</script> ————————————– Second way =>————————————– <script> var id = jQuery(this).attr(“id”); var ...