Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js "></script>
</head>
<body>
<script type="text/coffeescript">
$ ->
ua = (window.navigator.userAgent)
msie = (ua.indexOf('MSIE '))
if (msie > 0) then $("#mydiv").text "IE10 or older"
trident = (ua.indexOf('Trident/'))
if (trident > 0) then $("#mydiv").text "IE11"
edge = (ua.indexOf('Edge/'))
if (edge > 0) then $("#mydiv").text "IE12+"
</script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/coffee-script/1.7.1/coffee-script.min.js "></script>
<div id="mydiv" style="color:black"></div>
</body>
</html>
The most helpful COFFEESCRIPT solutions
how to set color using coffeescript ?COFFEESCRIPT
Click to see more ...
944
79
How to get ip address using coffeescript ?COFFEESCRIPT
Click to see more ...
788
42
How to detect mobile device not tablet using coffeescript ?COFFEESCRIPT
Click to see more ...
659
39
How to detect the browser opera using coffeescript ?COFFEESCRIPT
Click to see more ...
656
36
how to create alert using coffeescript ?COFFEESCRIPT
Click to see more ...
406
31
detect browser coffeescriptCOFFEESCRIPT
Click to see more ...
463
27
how to create else if condition using coffeescript ?COFFEESCRIPT
Click to see more ...
487
16
how to create callback using coffeescript ?COFFEESCRIPT
Click to see more ...
454
16
detect mobile coffeescriptCOFFEESCRIPT
Click to see more ...
412
15
how to create get function in coffeescript ?COFFEESCRIPT
Click to see more ...
660
16