<!Doctype Html>
<Html>
<body>
<input id="A1" value="Schoo/l">
<button onclick="CheckTheSlush()">Check</button>
<script>
function CheckTheSlush()
{
var x = document.getElementById("A1").value;
//alert: x is found with slush
}
</script>
</body>
</Html>