I am very new to Javascript. What I found out is just a code game.
I'm having trouble downloading. Bascially I need a specific div to only show in Firefox. Here is what I have.
<div id="parent" class="control-group"></div> <script type="text/javascript"> $(document).ready(function() { switch ( BrowserDetect.browser ) { case 'Firefox': $("button[name='btn']").click(function() { $("#parent").html("<div></div>"); }); }); break; } </script>
source share