Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はjavascriptが初めてです。現在、javascriptを使用して電卓を作成しています。DIVタグとINPUTタグの両方を使用してテキストを表示する方法です。div を使用しようとしましたが、機能しません。それを修正する方法。
これをdivに使用します
document.getElementById('divid').text="put your text"
入力フィールド用
document.getElementById('inputid').value="put your text"
お役に立てれば...