very ugly code but working :)
With 4 parameters, you must read about xor
js
var choice1 = $('#a').val()
var choice2 = $('#b').val()
var choice3 = $('#c').val()
var myDiv = $('#myDivArea');
$('input').on('input', function(){
if( ($('#a').val() == $('#b').val()) && ($('#b').val() == $('#c').val()) )
{
myDiv.show();
}
else
{
myDiv.hide();
}
} )
html
<input type="text" id="a">
<input type="text" id="b">
<input type="text" id="c">
<div id="myDivArea" > test </div>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…