I created a HTML application and I want it to look to see if it's the latest version and then if it is not then show a link.
I'm a beginner to javaScript so if you could tell me how to fix this code that would be great.
<script type="text/javascript">
var thisVersion = 1.5
function checkForUpdate() {
document.getElementById("version").value;
if (value == > "thisVersion")
updateMessage.style.display = 'block'
else
updateMessage.style.display = 'none'
}
</script>
<iframe src="my page where i say the latest version" scrolling="no" width="0" height="0" style="display:none"></iframe>
<table id="updateMessage" style="display:none">
There is a new version avalabal please download the new verion
<input type="button" value="here" src="update page">
</table>
Thanks