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.
ボタン付きのテキストボックスがあります。onclick関数を使用してJSファイルのWeb SQLデータベースから値を取得し、テキストボックスに表示するにはどうすればよいですか?
これに使用できますAjax:
Ajax
XmlHttp.onreadystatechange = HandleUserNameResult; XmlHttp.open("GET", requestUrl, true); XmlHttp.send(null); function HandleUserNameResult() { var responseText = XmlHttp.responseText; //Here you will get the result; }