On Wed, Aug 12, 2009 at 10:46 AM, James Curran <[email protected]>wrote:
> <a class="helper" href="#" title='Da Da'>help <span>Enter a Date</span></a>
>
>
> > in Header Script:
> $('#dialog').dialog({ autoOpen: false });
> $('.helper span').hide();
> $('.helper').click(function()
> {
> var aTag = $(this);
> $('#dialog').html($('span', aTag).html())
> .dialog('option', 'title', aTag.title())
> .dialog('open');
> });
Don't forget
return false;
to prevent navigation to the # href
- Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---