views:

105

answers:

3
+1  A: 

This code is working:

$('.btn_readbio').click(function(){ 
     $(this).dialog(); 
});

I removed the 'open' parameter.

Vincent Ramdhanie
A: 

Oh man, I feel silly. You definately helped me thought! I was attaching .dialog('open') to the link, not the dialog container. I am going to take the id of the link and use that to open the container. Thx!!!

Mike
A: 

Here's my code after adding the dialogs container to the 'rel' attribute of the hyperlink:

enter code here

$('.btn_readbio').each(function(){ $(this).click(function(){ $('#' + $(this).attr('rel')).dialog('open'); }); });

Mike