load link src into iframe with jquery
===

I was wondering if it's possible to have jQuery look at a group of links within a div class, and when one of those links are clicked the src of that link will load in the iframe.

I think it would be something like 
    
    $(function() {
    $('.link_group a').on('click', function(){
       $('iframe#frameID').attr('src', $(this).attr);
    });
    });

HTML

    <div class="link_group">
    <a href="Link 1.asp">Link 1</a>
    <a href="Link 2.asp">Link 2</a>
    <a href="Link 3.asp">Link 3</a>
    <a href="Link 4.asp">Link 4</a>
    </div>
but thats definitely not working..

Would anyone know how to do this properly?