Error: invalid assignment left-hand side
Source Line: 2, Column: 52
Source Code: options[form1.city.options.selectedIndex].value&id=2','chooseBox')
This is the php code that creates the javascript which yields the error above
Code: Select all
<?php
echo ' <img src="img/big_cloud.png"
onclick="callAHAH(\'test11.php?city=\'+form1.city.
options[form1.city.options.selectedIndex].value&id=2\',\'chooseBox\')" height="75" width="75"
alt="Click here" title="Click for info" />';
?>