if(input.type=='text'&&type != 'text'){return false;}What does this mean?
When both conditions are met, execute the code in curly braces
When both conditions are met, execute the code in curly braces