Good day. Created an empty Cordova project and connected jQuery Mobile. When I just prescribe document.getElementById('area').innerHTML = "Hello"; in the emulator, it shows Hello , but when I want to do this in a function, so that when I press the button, this message is highlighted, nothing happens.
function show() { document.getElementById('area').innerHTML = "Hello"; } <input type="button" value="Показать" onclick="show()" /> I work in Visual Studio 2015 and emulate it via Ripple - Nexus (Galaxy). What could be the problem?