I have a great modal script I'm using, that loads a page via ajax. However the href is left blank. This means I'll need to create a new id for each link. Is their a way to use this with just one script and have it load the correct link via ajax and have the title be the title in the link.
Here's the script.

```
    <a id="ajax2" href="#" onClick="self.location=this.href; return false">
    $('#ajax2').click(function(){
        lightbox.alert({
            width: '400px',
            title: 'Gamerholic.com Sign Up/Log In',
            rightButtons: ['Close'],
            background: 'black',
            fade: 'false',

            opened: function(){
                $('<span />').load('./login.php').appendTo('#lbContent');
            },
            buttonClick: function(button){
                console.log(button);
            }
        });
    });

```