Klaus Hartl wrote:
> So you would first add the custom attribute which then the plugin
> could rely on. Well, then why not just alter the URL right away?
> Something along:
>
> var $tabs = $('#example');
> $('a', $tabs).attr('href', function() { return this.href.replace(/\.php
> $/, '_ajax.php'); });
> $tabs.tabs();
>
> One extra line of code, fair enough?
>
> --Klaus
>
Exactly, why not? Why does it have to be a custom attribute or another
page? ;)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---