Please make sure you read, understand, and follow Rules and Terms of Service.
0 Members and 1 Guest are viewing this topic.
if (typeof ChgTxt == 'function') {
It is necessary that the function returns the value.Use return operator in function body.
function ChgTxt() { // your code return boolValue;}if(ChgTxt) alert('True!')else alert('False!')