Search found 1 match

by rahul09
Fri Jan 27, 2017 5:37 am
Forum: JavaScript
Topic: Php javascript combination
Replies: 2
Views: 1388

Php javascript combination

I need to insert a combination of php and javascript variables. This is the code <?php echo '<div id="output2"></div> <button id="sel" onclick="select()">Select</button>'; echo '<script> var create, cc="",mm; function select() { create=document.getElementById("output2").textContent; qq=create; creat...