<script type="text/javascript"> <!-- function a() { IE='\v'=='v'; if(IE){ alert("IEです"); }else{ alert("IE以外です"); } } // --> </script>