two separate select options should not conflict using javascript :     <td> <select style="font-size:18px" id="sg" name="sg" onchange="SetText(sg,word1)">
    <option value="all" selected="selected">Select</option>
    <option value="icpa_2039">icpa_2039</option>
    <option value="icpl_131">icpl_131</option>
    <option value="icpl_96061">icpl_96061</option> </select> </td>
    <td> between </td> <td> <select style="font-size:18px" id="sg2" name="sg2" onchange="SetText(sg2,word2)">
    <option value="all" selected="selected">Select</option>
    <option value="icpa_2039">icpa_2039</option>
    <option value="icpl_131">icpl_131</option>
    <option value="icpl_96061">icpl_96061</option> </select></td>
    <script src="js/jquery-1.9.0.min.js"></script>
     <script type="text/javascript" >
     var $j = jQuery.noConflict();
    $j(function(){
    $j("select[id^='sg']").change(function(){
 	var geno1 =$j('#sg').val();
 	var geno2 =$j('#sg2').val();
        	if(geno1==geno2) {
                 $j('#warning').show();
                 $j('#warning').html("Please choose two differnet genotypes names!!!");
 		}
        else {
                 $j('#warning').hide();
       }
    });
    });
     </script>

can anyone help me to figure out what is fault going on the code i wrote,
i had two separate select options where i want search values between the two select options
