I have some Google Plus One javascript in my .ASCX file:
<script type="text/javascript">
(function () {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
I need to hide this bit of code from IE7 and IE8 browsers.
What is the proper way to do this?