Calling object name using javacript like document.getElementById(“id”).value or document.Form1.value will have problem if that object not available. How do checking the object? This is sample checking : if(null !== x && ‘object’ == typeof(x)) { alert(“Hey, It’s an object or an array; good enough!”); } if available return of alert(obj); will be “[object]” … Continue reading