how to check a form entry in php code example
Example 1: Javascript check for hash in URL
if (location.href.indexOf("#") != -1) {
//current url has a #hash in it
}
Example 2: check data type in js
typeof("iAmAString");//This should return 'string'
//NO camelCase, as it is a JS Keyword