Make Anchor Links Always Open in Same Window

This is very useful if you want to put an anchor link in your navigation or if you want to add an anchor link to a Button Element.


Add the following to your website head:

<script src="" type="text/javascript"> </script>

<script type="text/javascript">


/* removing target blank from anchor links */    
   $(document).ready(function() {
        $( "a[href*=#]").attr('target', '_self' );