What's wrong with this code?
Posted
by Gabriel A. Zorrilla
on Stack Overflow
See other posts from Stack Overflow
or by Gabriel A. Zorrilla
Published on 2010-03-22T18:42:58Z
Indexed on
2010/03/22
19:11 UTC
Read the original article
Hit count: 361
php
|JavaScript
$code = $_POST['code'];
echo "<script language='javascript'>
document.getElementById('code').value = $code </script>";
I tried '$code', "$code","..." + "%code + "...", and i cant change the textfield's value to the PHP value.
Mmm!!!
© Stack Overflow or respective owner