ユーザーが画像をクリックしたときにテキストボックスを表示したい。
これが私のコードです:
print "<img src=\"../resources/pictures/pages/edit-button.png\" height=\"18px\" onClick=\"document.getElementById('#$txtboxName').style.display=\"block\">";
print "<input type=\"text\" name=\"$txtboxName\" size=\"20\" title=\"State Permission Here\" style=\"display:none\" />";
私のコードは動作しません。