次のような tr スタイルのテーブルがあります。
echo "<tr style=\"background-color: $farbe;\" onmouseover=\"this.style.cursor='pointer';this.style.backgroundColor='#87CEFF';\"onclick=\"window.location='overview.php?adrnr=" . $inhalt["AdrNr"] . "'\" onMouseOut=\"this.style.backgroundColor='$farbe';\">\n";
このような要素の1つにボタンを配置したいと思います
<td> <input type = "button" value = "Bearbeiten" onClick="self.location.href=' changeadress.php'" >
問題は、ボタンを押すとすぐにoverview.phpに到達することです。これは、tdがこれを回避する方法があるためです。