<html>
<script language="javascript" defer>
function isvalid()
{
Input_Str=document.getElementById("tsinput").value;
document.getElementById("ts").innerHTML=Input_Str;
if(Input_Str!=document.getElementById("ts").innerText)
alert("include Html Element.....");
}
</script>
<body>
<span id="ts" style="visibility:hidden;position:absolute" width=0 height=0></span>
<input type="text" value="" id="tsinput">
<input type="button" value=" " id="tsinput" οnclick="isvalid()">
</body>
</html>