This code is working:
$('.btn_readbio').click(function(){
$(this).dialog();
});
I removed the 'open' parameter.
Vincent Ramdhanie
2009-09-30 15:21:55
This code is working:
$('.btn_readbio').click(function(){
$(this).dialog();
});
I removed the 'open' parameter.
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!!!
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'); }); });