I have a PHP page with some JavaScript code, but this JavaScript code below works, or maybe I'm leaving!
I am trying something like this:
var areaOption=document.getElementById("<?php echo @$_POST['annonsera_name']?>"); areaOption.selected=true;
I also tried this, but it only warns the BLANK alert-box:
alert (<?php echo $test;?>);
I think that is completely wrong here?
UPDATE
Some PHP codes:
<?php $test = "Hello World!"; ?>
user188962
source share